summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Peng2019-10-31 00:54:59 +0000
committerBo Peng2019-10-31 00:54:59 +0000
commite222e00f4e287ae9e4650dbf47f08961fb8669b3 (patch)
treee6a8b30e4910ec4e3a568cebb5fbafbee3ac8c0e
parent470f459fcc4b207179d8e3b57b06b8ebeb7731dc (diff)
Doc: fix doc incorrect description.V3_6_19_RPMV3_6_19
-rw-r--r--doc.ja/src/sgml/release-3.6.sgml12
-rw-r--r--doc.ja/src/sgml/watchdog.sgml1
-rw-r--r--doc/src/sgml/release-3.6.sgml12
-rw-r--r--doc/src/sgml/watchdog.sgml4
-rw-r--r--src/parser/scan.c68
5 files changed, 31 insertions, 66 deletions
diff --git a/doc.ja/src/sgml/release-3.6.sgml b/doc.ja/src/sgml/release-3.6.sgml
index 43cf24c8a..0d979872c 100644
--- a/doc.ja/src/sgml/release-3.6.sgml
+++ b/doc.ja/src/sgml/release-3.6.sgml
@@ -125,18 +125,6 @@
<listitem>
<!--
- 2019-09-04 [3ba4e73]
- -->
- <para>
- <!--
- Doc: mention that VIP will not be brougt up if quorum does not exist. (Tatsuo Ishii)
- -->
- Doc: クォーラムが存在しない場合、VIPは起動されないことをドキュメントに追加しました。(Tatsuo Ishii)
- </para>
- </listitem>
-
- <listitem>
- <!--
2019-08-16 [956c040]
-->
<para>
diff --git a/doc.ja/src/sgml/watchdog.sgml b/doc.ja/src/sgml/watchdog.sgml
index a5aaa5ec9..63cf5d313 100644
--- a/doc.ja/src/sgml/watchdog.sgml
+++ b/doc.ja/src/sgml/watchdog.sgml
@@ -277,7 +277,6 @@
-->
(アプリケーションサーバなど)クライアントサーバから接続される<productname>Pgpool-II</productname>の仮想IP(VIP) アドレスを指定します。
<productname>Pgpool-II</productname>がスタンバイからアクティブに切り替わった時、<productname>Pgpool-II</productname>はこのVIPを引き継ぎます。
- <xref linkend="guc-failover-require-consensus">がオンの場合(デフォルトです)、クォーラムが存在しなければVIPは立ち上がりません。
デフォルトは<literal>''</literal>(空文字)で、この場合仮想IPは決して立ち上がりません。
</para>
<para>
diff --git a/doc/src/sgml/release-3.6.sgml b/doc/src/sgml/release-3.6.sgml
index 36d3b49e0..6d3c9e63b 100644
--- a/doc/src/sgml/release-3.6.sgml
+++ b/doc/src/sgml/release-3.6.sgml
@@ -88,18 +88,6 @@
<listitem>
<!--
- 2019-09-04 [3ba4e73]
- -->
- <para>
- Doc: mention that VIP will not be brougt up if quorum does not exist. (Tatsuo Ishii)
- </para>
- <para>
-
- </para>
- </listitem>
-
- <listitem>
- <!--
2019-08-16 [956c040]
-->
<para>
diff --git a/doc/src/sgml/watchdog.sgml b/doc/src/sgml/watchdog.sgml
index d8fd44408..542b90c9e 100644
--- a/doc/src/sgml/watchdog.sgml
+++ b/doc/src/sgml/watchdog.sgml
@@ -177,9 +177,7 @@
client servers (application servers etc.). When a
<productname>Pgpool-II</productname> is switched from standby to
active, the <productname>Pgpool-II</productname> takes over this
- VIP. If <xref linkend="guc-failover-require-consensus"> is on
- (the default), VIP will not be brought up in case the quorum
- does not exist. Default is <literal>''</literal>(empty): which
+ VIP. Default is <literal>''</literal>(empty): which
means virtual IP will never be brought up.
</para>
<para>
diff --git a/src/parser/scan.c b/src/parser/scan.c
index a1f95be31..fa356dcd1 100644
--- a/src/parser/scan.c
+++ b/src/parser/scan.c
@@ -57,7 +57,7 @@
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5
-#define YY_FLEX_SUBMINOR_VERSION 35
+#define YY_FLEX_SUBMINOR_VERSION 37
#if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA
#endif
@@ -207,15 +207,7 @@ typedef void* yyscan_t;
/* Size of default input buffer. */
#ifndef YY_BUF_SIZE
-#ifdef __ia64__
-/* On IA-64, the buffer size is 16k, not 8k.
- * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
- * Ditto for the __ia64__ case accordingly.
- */
-#define YY_BUF_SIZE 32768
-#else
#define YY_BUF_SIZE 16384
-#endif /* __ia64__ */
#endif
/* The state buf must be large enough to hold one state per character in the main buffer.
@@ -227,6 +219,11 @@ typedef void* yyscan_t;
typedef struct yy_buffer_state *YY_BUFFER_STATE;
#endif
+#ifndef YY_TYPEDEF_YY_SIZE_T
+#define YY_TYPEDEF_YY_SIZE_T
+typedef size_t yy_size_t;
+#endif
+
#define EOB_ACT_CONTINUE_SCAN 0
#define EOB_ACT_END_OF_FILE 1
#define EOB_ACT_LAST_MATCH 2
@@ -249,11 +246,6 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE;
#define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
-#ifndef YY_TYPEDEF_YY_SIZE_T
-#define YY_TYPEDEF_YY_SIZE_T
-typedef size_t yy_size_t;
-#endif
-
#ifndef YY_STRUCT_YY_BUFFER_STATE
#define YY_STRUCT_YY_BUFFER_STATE
struct yy_buffer_state
@@ -271,7 +263,7 @@ struct yy_buffer_state
/* Number of characters read into yy_ch_buf, not including EOB
* characters.
*/
- int yy_n_chars;
+ yy_size_t yy_n_chars;
/* Whether we "own" the buffer - i.e., we know we created it,
* and can realloc() it to grow it, and should free() it to
@@ -350,7 +342,7 @@ static void core_yy_init_buffer (YY_BUFFER_STATE b,FILE *file ,yyscan_t yyscanne
YY_BUFFER_STATE core_yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
YY_BUFFER_STATE core_yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
-YY_BUFFER_STATE core_yy_scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner );
+YY_BUFFER_STATE core_yy_scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner );
void *core_yyalloc (yy_size_t ,yyscan_t yyscanner );
void *core_yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
@@ -382,7 +374,7 @@ void core_yyfree (void * ,yyscan_t yyscanner );
/* Begin user sect3 */
-#define core_yywrap(n) 1
+#define core_yywrap(yyscanner) 1
#define YY_SKIP_YYWRAP
typedef unsigned char YY_CHAR;
@@ -1089,7 +1081,7 @@ extern void core_yyset_column(int column_no, yyscan_t yyscanner);
* Note that xcstart must appear before operator, as explained above!
* Also whitespace (comment) must appear before operator.
*/
-#line 1093 "scan.c"
+#line 1085 "scan.c"
#define INITIAL 0
#define xb 1
@@ -1130,8 +1122,8 @@ struct yyguts_t
size_t yy_buffer_stack_max; /**< capacity of stack. */
YY_BUFFER_STATE * yy_buffer_stack; /**< Stack as an array. */
char yy_hold_char;
- int yy_n_chars;
- int yyleng_r;
+ yy_size_t yy_n_chars;
+ yy_size_t yyleng_r;
char *yy_c_buf_p;
int yy_init;
int yy_start;
@@ -1188,7 +1180,7 @@ FILE *core_yyget_out (yyscan_t yyscanner );
void core_yyset_out (FILE * out_str ,yyscan_t yyscanner );
-int core_yyget_leng (yyscan_t yyscanner );
+yy_size_t core_yyget_leng (yyscan_t yyscanner );
char *core_yyget_text (yyscan_t yyscanner );
@@ -1196,6 +1188,10 @@ int core_yyget_lineno (yyscan_t yyscanner );
void core_yyset_lineno (int line_number ,yyscan_t yyscanner );
+int core_yyget_column (yyscan_t yyscanner );
+
+void core_yyset_column (int column_no ,yyscan_t yyscanner );
+
YYSTYPE * core_yyget_lval (yyscan_t yyscanner );
void core_yyset_lval (YYSTYPE * yylval_param ,yyscan_t yyscanner );
@@ -1236,12 +1232,7 @@ static int input (yyscan_t yyscanner );
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
-#ifdef __ia64__
-/* On IA-64, the buffer size is 16k, not 8k */
-#define YY_READ_BUF_SIZE 16384
-#else
#define YY_READ_BUF_SIZE 8192
-#endif /* __ia64__ */
#endif
/* Copy whatever the last rule matched to the standard output. */
@@ -1348,7 +1339,7 @@ YY_DECL
#line 398 "scan.l"
-#line 1352 "scan.c"
+#line 1343 "scan.c"
yylval = yylval_param;
@@ -2371,7 +2362,7 @@ YY_RULE_SETUP
#line 1020 "scan.l"
YY_FATAL_ERROR( "flex scanner jammed" );
YY_BREAK
-#line 2375 "scan.c"
+#line 2366 "scan.c"
case YY_END_OF_BUFFER:
{
@@ -2557,21 +2548,21 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
else
{
- int num_to_read =
+ yy_size_t num_to_read =
YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
while ( num_to_read <= 0 )
{ /* Not enough room in the buffer - grow it. */
/* just a shorter name for the current buffer */
- YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
+ YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;
int yy_c_buf_p_offset =
(int) (yyg->yy_c_buf_p - b->yy_ch_buf);
if ( b->yy_is_our_buffer )
{
- int new_size = b->yy_buf_size * 2;
+ yy_size_t new_size = b->yy_buf_size * 2;
if ( new_size <= 0 )
b->yy_buf_size += b->yy_buf_size / 8;
@@ -2602,7 +2593,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
/* Read in more data. */
YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
- yyg->yy_n_chars, (size_t) num_to_read );
+ yyg->yy_n_chars, num_to_read );
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
}
@@ -2699,6 +2690,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
yy_is_jam = (yy_current_state == 289);
+ (void)yyg;
return yy_is_jam ? 0 : yy_current_state;
}
@@ -2727,7 +2719,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
else
{ /* need more input */
- int offset = yyg->yy_c_buf_p - yyg->yytext_ptr;
+ yy_size_t offset = yyg->yy_c_buf_p - yyg->yytext_ptr;
++yyg->yy_c_buf_p;
switch ( yy_get_next_buffer( yyscanner ) )
@@ -3007,7 +2999,7 @@ void core_yypop_buffer_state (yyscan_t yyscanner)
*/
static void core_yyensure_buffer_stack (yyscan_t yyscanner)
{
- int num_to_alloc;
+ yy_size_t num_to_alloc;
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
if (!yyg->yy_buffer_stack) {
@@ -3105,7 +3097,7 @@ YY_BUFFER_STATE core_yy_scan_string (yyconst char * yystr , yyscan_t yyscanner)
* @param yyscanner The scanner object.
* @return the newly allocated buffer state object.
*/
-YY_BUFFER_STATE core_yy_scan_bytes (yyconst char * yybytes, int _yybytes_len , yyscan_t yyscanner)
+YY_BUFFER_STATE core_yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len , yyscan_t yyscanner)
{
YY_BUFFER_STATE b;
char *buf;
@@ -3220,7 +3212,7 @@ FILE *core_yyget_out (yyscan_t yyscanner)
/** Get the length of the current token.
* @param yyscanner The scanner object.
*/
-int core_yyget_leng (yyscan_t yyscanner)
+yy_size_t core_yyget_leng (yyscan_t yyscanner)
{
struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
return yyleng;
@@ -3256,7 +3248,7 @@ void core_yyset_lineno (int line_number , yyscan_t yyscanner)
/* lineno is only valid if an input buffer exists. */
if (! YY_CURRENT_BUFFER )
- yy_fatal_error( "core_yyset_lineno called with no buffer" , yyscanner);
+ YY_FATAL_ERROR( "core_yyset_lineno called with no buffer" );
yylineno = line_number;
}
@@ -3271,7 +3263,7 @@ void core_yyset_column (int column_no , yyscan_t yyscanner)
/* column is only valid if an input buffer exists. */
if (! YY_CURRENT_BUFFER )
- yy_fatal_error( "core_yyset_column called with no buffer" , yyscanner);
+ YY_FATAL_ERROR( "core_yyset_column called with no buffer" );
yycolumn = column_no;
}