[pgpool-hackers: 1092] Re: [pgpool-committers: 2720] pgpool: Import parser of PostgreSQL 9.5

Tatsuo Ishii ishii at postgresql.org
Tue Oct 13 14:03:29 JST 2015


Yugo,

> Import parser of PostgreSQL 9.5

After this commit, I get tons of compiler warnings. Some of them has
been there before the commit but I'm sure most of them are after the
commit.

I don't know if this matters but this is Ubuntu 14.04.

snprintf.c:210:1: warning: no previous prototype for ‘pg_vsnprintf’ [-Wmissing-prototypes]
 pg_vsnprintf(char *str, size_t count, const char *fmt, va_list args)
 ^
snprintf.c: In function ‘fmtfloat’:
snprintf.c:1045:2: warning: implicit declaration of function ‘isnan’ [-Wimplicit-function-declaration]
  if (!isnan(value) && adjust_sign((value < 0), forcesign, &signvalue))
  ^
../../utils/pool_path.c: In function 'get_home_directory':
../../utils/pool_path.c:61:2: warning: implicit declaration of function 'strlcpy' [-Wimplicit-function-declaration]
  strlcpy(buf, pwd->pw_dir, bufsize);
  ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from ../../src/include/utils/elog.h:21,
                 from watchdog.c:36:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from watchdog.c:36:
../../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from ../../src/include/utils/elog.h:21,
                 from watchdog.c:36:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from watchdog.c:36:
../../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from wd_child.c:35:
../../src/include/parser/pg_config_manual.h:69:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from wd_child.c:33:
/usr/local/pgsql/include/pg_config_manual.h:51:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from wd_child.c:35:
../../src/include/parser/pg_config_manual.h:206:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from wd_child.c:33:
/usr/local/pgsql/include/pg_config_manual.h:166:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from ../../src/include/utils/elog.h:21,
                 from wd_if.c:36:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from wd_if.c:36:
../../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from ../../src/include/utils/elog.h:21,
                 from wd_if.c:36:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from wd_if.c:36:
../../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from ../../src/include/utils/elog.h:21,
                 from wd_init.c:31:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from wd_init.c:31:
../../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from ../../src/include/utils/elog.h:21,
                 from wd_init.c:31:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from wd_init.c:31:
../../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from ../../src/include/utils/elog.h:21,
                 from wd_lifecheck.c:33:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from wd_lifecheck.c:33:
../../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from ../../src/include/utils/elog.h:21,
                 from wd_lifecheck.c:33:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from wd_lifecheck.c:33:
../../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from ../../src/include/utils/elog.h:21,
                 from wd_list.c:30:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from wd_list.c:30:
../../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from ../../src/include/utils/elog.h:21,
                 from wd_list.c:30:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from wd_list.c:30:
../../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from ../../src/include/utils/elog.h:21,
                 from wd_packet.c:45:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from wd_packet.c:45:
../../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from ../../src/include/utils/elog.h:21,
                 from wd_packet.c:45:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from wd_packet.c:45:
../../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from ../../src/include/utils/elog.h:21,
                 from wd_ping.c:34:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from wd_ping.c:34:
../../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from ../../src/include/utils/elog.h:21,
                 from wd_ping.c:34:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from wd_ping.c:34:
../../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from wd_heartbeat.c:49:
../../src/include/parser/pg_config_manual.h:69:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from wd_heartbeat.c:47:
/usr/local/pgsql/include/pg_config_manual.h:51:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from wd_heartbeat.c:49:
../../src/include/parser/pg_config_manual.h:206:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from wd_heartbeat.c:47:
/usr/local/pgsql/include/pg_config_manual.h:166:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from ../../src/include/utils/elog.h:21,
                 from wd_interlock.c:30:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from wd_interlock.c:30:
../../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../../src/include/utils/palloc.h:31:0,
                 from ../../src/include/utils/elog.h:21,
                 from wd_interlock.c:30:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../../src/include/parser/stringinfo.h:22:0,
                 from ../../src/include/utils/elog.h:20,
                 from wd_interlock.c:30:
../../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
wd_interlock.c: In function ‘wd_init_interlock’:
wd_interlock.c:63:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
   ereport(DEBUG1,
   ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from main/main.c:38:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from main/main.c:38:
../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from main/main.c:38:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from main/main.c:38:
../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from main/pgpool_main.c:48:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from main/pgpool_main.c:48:
../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from main/pgpool_main.c:48:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from main/pgpool_main.c:48:
../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from pool_config.l:35:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from pool_config.l:35:
../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from pool_config.l:35:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from pool_config.l:35:
../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
config/pool_config.c:1218:16: warning: ‘input’ defined but not used [-Wunused-function]
     static int input  (void)
                ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from pcp_con/pcp_child.c:59:
../src/include/parser/pg_config_manual.h:69:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from pcp_con/pcp_child.c:26:
/usr/local/pgsql/include/pg_config_manual.h:51:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from pcp_con/pcp_child.c:59:
../src/include/parser/pg_config_manual.h:206:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from pcp_con/pcp_child.c:26:
/usr/local/pgsql/include/pg_config_manual.h:166:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from pcp_con/pcp_worker.c:51:
../src/include/parser/pg_config_manual.h:69:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from pcp_con/pcp_worker.c:26:
/usr/local/pgsql/include/pg_config_manual.h:51:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from pcp_con/pcp_worker.c:51:
../src/include/parser/pg_config_manual.h:206:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from pcp_con/pcp_worker.c:26:
/usr/local/pgsql/include/pg_config_manual.h:166:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from pcp_con/recovery.c:29:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from pcp_con/recovery.c:29:
../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from pcp_con/recovery.c:29:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from pcp_con/recovery.c:29:
../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from auth/pool_auth.c:29:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from auth/pool_auth.c:29:
../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from auth/pool_auth.c:29:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from auth/pool_auth.c:29:
../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from auth/pool_passwd.c:32:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from auth/pool_passwd.c:32:
../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from auth/pool_passwd.c:32:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from auth/pool_passwd.c:32:
../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from auth/pool_hba.c:41:
../src/include/parser/pg_config_manual.h:69:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from auth/pool_hba.c:39:
/usr/local/pgsql/include/pg_config_manual.h:51:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from auth/pool_hba.c:41:
../src/include/parser/pg_config_manual.h:206:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from auth/pool_hba.c:39:
/usr/local/pgsql/include/pg_config_manual.h:166:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from protocol/pool_proto2.c:34:
../src/include/parser/pg_config_manual.h:69:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/context/pool_query_context.h:33,
                 from ../src/include/context/pool_session_context.h:33,
                 from ../src/include/protocol/pool_proto_modules.h:33,
                 from protocol/pool_proto2.c:32:
/usr/local/pgsql/include/pg_config_manual.h:51:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from protocol/pool_proto2.c:34:
../src/include/parser/pg_config_manual.h:206:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/context/pool_query_context.h:33,
                 from ../src/include/context/pool_session_context.h:33,
                 from ../src/include/protocol/pool_proto_modules.h:33,
                 from protocol/pool_proto2.c:32:
/usr/local/pgsql/include/pg_config_manual.h:166:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from protocol/child.c:59:
../src/include/parser/pg_config_manual.h:69:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from protocol/child.c:52:
/usr/local/pgsql/include/pg_config_manual.h:51:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from protocol/child.c:59:
../src/include/parser/pg_config_manual.h:206:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from protocol/child.c:52:
/usr/local/pgsql/include/pg_config_manual.h:166:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from protocol/pool_process_query.c:52:
../src/include/parser/pg_config_manual.h:69:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/context/pool_query_context.h:33,
                 from ../src/include/context/pool_session_context.h:33,
                 from ../src/include/protocol/pool_proto_modules.h:33,
                 from ../src/include/rewrite/pool_timestamp.h:30,
                 from protocol/pool_process_query.c:47:
/usr/local/pgsql/include/pg_config_manual.h:51:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from protocol/pool_process_query.c:52:
../src/include/parser/pg_config_manual.h:206:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/context/pool_query_context.h:33,
                 from ../src/include/context/pool_session_context.h:33,
                 from ../src/include/protocol/pool_proto_modules.h:33,
                 from ../src/include/rewrite/pool_timestamp.h:30,
                 from protocol/pool_process_query.c:47:
/usr/local/pgsql/include/pg_config_manual.h:166:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from protocol/pool_connection_pool.c:49:
../src/include/parser/pg_config_manual.h:69:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from protocol/pool_connection_pool.c:47:
/usr/local/pgsql/include/pg_config_manual.h:51:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from protocol/pool_connection_pool.c:49:
../src/include/parser/pg_config_manual.h:206:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from protocol/pool_connection_pool.c:47:
/usr/local/pgsql/include/pg_config_manual.h:166:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from protocol/pool_proto_modules.c:54:
../src/include/parser/pg_config_manual.h:69:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/context/pool_query_context.h:33,
                 from ../src/include/context/pool_session_context.h:33,
                 from ../src/include/protocol/pool_proto_modules.h:33,
                 from ../src/include/rewrite/pool_timestamp.h:30,
                 from protocol/pool_proto_modules.c:47:
/usr/local/pgsql/include/pg_config_manual.h:51:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from protocol/pool_proto_modules.c:54:
../src/include/parser/pg_config_manual.h:206:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/context/pool_query_context.h:33,
                 from ../src/include/context/pool_session_context.h:33,
                 from ../src/include/protocol/pool_proto_modules.h:33,
                 from ../src/include/rewrite/pool_timestamp.h:30,
                 from protocol/pool_proto_modules.c:47:
/usr/local/pgsql/include/pg_config_manual.h:166:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
protocol/pool_proto_modules.c:2915:20: warning: ‘parse_before_bind’ defined but not used [-Wunused-function]
 static POOL_STATUS parse_before_bind(POOL_CONNECTION *frontend,
                    ^
In file included from protocol/CommandComplete.c:31:0:
../src/include/parser/pg_config_manual.h:69:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/context/pool_query_context.h:33,
                 from ../src/include/context/pool_session_context.h:33,
                 from ../src/include/protocol/pool_proto_modules.h:33,
                 from protocol/CommandComplete.c:30:
/usr/local/pgsql/include/pg_config_manual.h:51:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from protocol/CommandComplete.c:31:0:
../src/include/parser/pg_config_manual.h:206:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/context/pool_query_context.h:33,
                 from ../src/include/context/pool_session_context.h:33,
                 from ../src/include/protocol/pool_proto_modules.h:33,
                 from protocol/CommandComplete.c:30:
/usr/local/pgsql/include/pg_config_manual.h:166:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from query_cache/pool_memqcache.c:54:
../src/include/parser/pg_config_manual.h:69:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/context/pool_query_context.h:33,
                 from ../src/include/context/pool_session_context.h:33,
                 from ../src/include/protocol/pool_proto_modules.h:33,
                 from query_cache/pool_memqcache.c:46:
/usr/local/pgsql/include/pg_config_manual.h:51:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from query_cache/pool_memqcache.c:54:
../src/include/parser/pg_config_manual.h:206:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/context/pool_query_context.h:33,
                 from ../src/include/context/pool_session_context.h:33,
                 from ../src/include/protocol/pool_proto_modules.h:33,
                 from query_cache/pool_memqcache.c:46:
/usr/local/pgsql/include/pg_config_manual.h:166:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
query_cache/pool_memqcache.c:2995:14: warning: ‘pool_get_buffer_pointer’ defined but not used [-Wunused-function]
 static char *pool_get_buffer_pointer(POOL_INTERNAL_BUFFER *buffer)
              ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from context/pool_session_context.c:30:
../src/include/parser/pg_config_manual.h:69:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from context/pool_session_context.c:28:
/usr/local/pgsql/include/pg_config_manual.h:51:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from context/pool_session_context.c:30:
../src/include/parser/pg_config_manual.h:206:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from context/pool_session_context.c:28:
/usr/local/pgsql/include/pg_config_manual.h:166:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from context/pool_process_context.c:25:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from context/pool_process_context.c:25:
../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from context/pool_process_context.c:25:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from context/pool_process_context.c:25:
../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from context/pool_query_context.c:28:
../src/include/parser/pg_config_manual.h:69:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/context/pool_query_context.h:33,
                 from ../src/include/context/pool_session_context.h:33,
                 from ../src/include/protocol/pool_proto_modules.h:33,
                 from context/pool_query_context.c:25:
/usr/local/pgsql/include/pg_config_manual.h:51:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from context/pool_query_context.c:28:
../src/include/parser/pg_config_manual.h:206:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/context/pool_query_context.h:33,
                 from ../src/include/context/pool_session_context.h:33,
                 from ../src/include/protocol/pool_proto_modules.h:33,
                 from context/pool_query_context.c:25:
/usr/local/pgsql/include/pg_config_manual.h:166:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from streaming_replication/pool_worker_child.c:56:
../src/include/parser/pg_config_manual.h:69:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from streaming_replication/pool_worker_child.c:54:
/usr/local/pgsql/include/pg_config_manual.h:51:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from streaming_replication/pool_worker_child.c:56:
../src/include/parser/pg_config_manual.h:206:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from streaming_replication/pool_worker_child.c:54:
/usr/local/pgsql/include/pg_config_manual.h:166:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from rewrite/pool_timestamp.c:28:
../src/include/parser/pg_config_manual.h:69:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/context/pool_query_context.h:33,
                 from ../src/include/context/pool_session_context.h:33,
                 from ../src/include/protocol/pool_proto_modules.h:33,
                 from ../src/include/rewrite/pool_timestamp.h:30,
                 from rewrite/pool_timestamp.c:27:
/usr/local/pgsql/include/pg_config_manual.h:51:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from rewrite/pool_timestamp.c:28:
../src/include/parser/pg_config_manual.h:206:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/context/pool_query_context.h:33,
                 from ../src/include/context/pool_session_context.h:33,
                 from ../src/include/protocol/pool_proto_modules.h:33,
                 from ../src/include/rewrite/pool_timestamp.h:30,
                 from rewrite/pool_timestamp.c:27:
/usr/local/pgsql/include/pg_config_manual.h:166:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from rewrite/pool_lobj.c:34:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from rewrite/pool_lobj.c:34:
../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from rewrite/pool_lobj.c:34:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from rewrite/pool_lobj.c:34:
../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/pool_select_walker.c:27:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_select_walker.c:27:
../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/pool_select_walker.c:27:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_select_walker.c:27:
../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/psprintf.c:22:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/psprintf.c:22:
../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/psprintf.c:22:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/psprintf.c:22:
../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/pool_params.c:28:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_params.c:28:
../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/pool_params.c:28:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_params.c:28:
../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/pool_shmem.c:24:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_shmem.c:24:
../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/pool_shmem.c:24:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_shmem.c:24:
../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/pool_sema.c:28:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_sema.c:28:
../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/pool_sema.c:28:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_sema.c:28:
../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/pool_signal.c:30:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_signal.c:30:
../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/pool_signal.c:30:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_signal.c:30:
../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/pool_ip.c:54:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_ip.c:54:
../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/pool_ip.c:54:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_ip.c:54:
../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_relcache.c:34:
../src/include/parser/pg_config_manual.h:69:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/context/pool_query_context.h:33,
                 from ../src/include/context/pool_session_context.h:33,
                 from utils/pool_relcache.c:30:
/usr/local/pgsql/include/pg_config_manual.h:51:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_relcache.c:34:
../src/include/parser/pg_config_manual.h:206:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/context/pool_query_context.h:33,
                 from ../src/include/context/pool_session_context.h:33,
                 from utils/pool_relcache.c:30:
/usr/local/pgsql/include/pg_config_manual.h:166:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_process_reporting.c:25:
../src/include/parser/pg_config_manual.h:69:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/context/pool_query_context.h:33,
                 from ../src/include/context/pool_session_context.h:33,
                 from ../src/include/protocol/pool_proto_modules.h:33,
                 from utils/pool_process_reporting.c:24:
/usr/local/pgsql/include/pg_config_manual.h:51:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_process_reporting.c:25:
../src/include/parser/pg_config_manual.h:206:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/context/pool_query_context.h:33,
                 from ../src/include/context/pool_session_context.h:33,
                 from ../src/include/protocol/pool_proto_modules.h:33,
                 from utils/pool_process_reporting.c:24:
/usr/local/pgsql/include/pg_config_manual.h:166:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/pool_ssl.c:29:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_ssl.c:29:
../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/pool_ssl.c:29:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_ssl.c:29:
../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/pool_stream.c:42:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_stream.c:42:
../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/pool_stream.c:42:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/pool_stream.c:42:
../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/error/assert.c:18:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/error/assert.c:18:
../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/error/assert.c:18:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/error/assert.c:18:
../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/regex_array.c:32:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/regex_array.c:32:
../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../src/include/utils/palloc.h:31:0,
                 from ../src/include/utils/elog.h:21,
                 from utils/regex_array.c:32:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../src/include/parser/stringinfo.h:22:0,
                 from ../src/include/utils/elog.h:20,
                 from utils/regex_array.c:32:
../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
utils/statistics.c: In function ‘stat_init_stat_area’:
utils/statistics.c:65:2: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
  memset((void *)per_node_stat, 0, stat_shared_memory_size());
  ^
utils/statistics.c:65:2: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
In file included from ../../../src/include/utils/palloc.h:31:0,
                 from ../../../src/include/utils/elog.h:21,
                 from pool_signal.c:30:
/usr/local/pgsql/include/pg_config_manual.h:51:0: warning: "SEQ_MAXVALUE" redefined [enabled by default]
 #define SEQ_MAXVALUE INT64CONST(0x7FFFFFFFFFFFFFFF)
 ^
In file included from ../../../src/include/parser/stringinfo.h:22:0,
                 from ../../../src/include/utils/elog.h:20,
                 from pool_signal.c:30:
../../../src/include/parser/pg_config_manual.h:69:0: note: this is the location of the previous definition
 #define SEQ_MAXVALUE PG_INT64_MAX
 ^
In file included from ../../../src/include/utils/palloc.h:31:0,
                 from ../../../src/include/utils/elog.h:21,
                 from pool_signal.c:30:
/usr/local/pgsql/include/pg_config_manual.h:166:0: warning: "MAX_RANDOM_VALUE" redefined [enabled by default]
 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
 ^
In file included from ../../../src/include/parser/stringinfo.h:22:0,
                 from ../../../src/include/utils/elog.h:20,
                 from pool_signal.c:30:
../../../src/include/parser/pg_config_manual.h:206:0: note: this is the location of the previous definition
 #define MAX_RANDOM_VALUE  PG_INT32_MAX
 ^
pool_config.l: In function ‘check_redirect_node_spec’:
pool_config.l:3534:3: warning: implicit declaration of function ‘isdigit’ [-Wimplicit-function-declaration]
         facility = LOG_LOCAL4;
   ^
pool_config.l: At top level:
pool_config.c:1218:16: warning: ‘input’ defined but not used [-Wunused-function]
 #endif
                ^
t-ishii at localhost: 

> 
> In addition, timestamp-rewrite supports
>  - INSERT ... ON CONFLICT
>  - INSERT/UPDATE/DELETE with WITH clause
>  - GROUPING SETS, CUBE, ROLLUP, TABLESAMPLE in SELECT statement
>   in WITH clause
>  - INSERT/UPDATE/DELETE in WITH clause
>  - RETURNING clause
>  - UPDATE xxx SET (y,z) = (SELECT u,w from zzz)
> 
> Othres:
>  - Table alias in INSTER query
>  - WITH clause including INSERT/UPDATE
>  - SELECT ... TABLESAMPLE is not allowed to be query-cached
> 
> Branch
> ------
> master
> 
> Details
> -------
> http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=a7e1dbd6f017258d71e83e05ce490d3552b328f9
> 
> Modified Files
> --------------
> doc/Makefile.in                        |    2 +-
> src/Makefile.in                        |    2 +-
> src/context/pool_query_context.c       |   13 +
> src/include/Makefile.in                |    6 +-
> src/include/config.h.in                |    3 +
> src/include/parser/gram.h              |  955 -
> src/include/parser/gramparse.h         |    8 +-
> src/include/parser/keywords.h          |    4 +-
> src/include/parser/kwlist.h            |   19 +-
> src/include/parser/lockoptions.h       |   46 +
> src/include/parser/makefuncs.h         |   10 +-
> src/include/parser/nodes.h             |   42 +-
> src/include/parser/parsenodes.h        |  411 +-
> src/include/parser/parser.h            |    4 +-
> src/include/parser/pg_class.h          |   94 +-
> src/include/parser/pg_config_manual.h  |  122 +-
> src/include/parser/pg_list.h           |    8 +-
> src/include/parser/pg_trigger.h        |   11 +-
> src/include/parser/pg_wchar.h          |   51 +-
> src/include/parser/pool_parser.h       |  159 +-
> src/include/parser/primnodes.h         |  145 +-
> src/include/parser/scanner.h           |   23 +-
> src/include/parser/scansup.h           |    4 +-
> src/include/parser/stringinfo.h        |   46 +-
> src/include/parser/value.h             |    6 +-
> src/include/pool_type.h                |   19 +-
> src/include/utils/pool_select_walker.h |    1 +
> src/libs/Makefile.in                   |    2 +-
> src/libs/pcp/Makefile.in               |    2 +-
> src/parser/copyfuncs.c                 |  417 +-
> src/parser/gram.c                      |58676 +++++++++++++++++---------------
> src/parser/gram.h                      | 1758 +-
> src/parser/gram.y                      | 2050 +-
> src/parser/keywords.c                  |    6 +-
> src/parser/kwlookup.c                  |    6 +-
> src/parser/list.c                      |   34 +-
> src/parser/makefuncs.c                 |   23 +-
> src/parser/nodes.c                     |    9 +-
> src/parser/outfuncs.c                  |  896 +-
> src/parser/parser.c                    |  152 +-
> src/parser/scan.c                      | 1078 +-
> src/parser/scan.l                      |   61 +-
> src/parser/scansup.c                   |   15 +-
> src/parser/snprintf.c                  |  209 +-
> src/parser/stringinfo.c                |   72 +-
> src/parser/value.c                     |    4 +-
> src/parser/wchar.c                     |   52 +-
> src/protocol/pool_process_query.c      |   20 +-
> src/query_cache/pool_memqcache.c       |   73 +-
> src/rewrite/pool_timestamp.c           |  360 +-
> src/tools/Makefile.in                  |    2 +-
> src/tools/pcp/Makefile.in              |   10 +-
> src/utils/error/elog.c                 |   31 +-
> src/utils/pool_select_walker.c         |    3 +-
> 54 files changed, 37210 insertions(+), 31025 deletions(-)
> 
> _______________________________________________
> pgpool-committers mailing list
> pgpool-committers at pgpool.net
> http://www.pgpool.net/mailman/listinfo/pgpool-committers


More information about the pgpool-hackers mailing list