[COMMITTERS] pgsql: Expose -S option in pg_receivexlog.

2014-08-12 Thread Fujii Masao
Expose -S option in pg_receivexlog. This option is equivalent to --slot option which pg_receivexlog has already supported, which specifies the replication slot to use for WAL streaming. pg_recvlogical has already supported both options, and this commit makes pg_receivexlog consistent with pg_recvl

[COMMITTERS] pgsql: Expose -S option in pg_receivexlog.

2014-08-12 Thread Fujii Masao
Expose -S option in pg_receivexlog. This option is equivalent to --slot option which pg_receivexlog has already supported, which specifies the replication slot to use for WAL streaming. pg_recvlogical has already supported both options, and this commit makes pg_receivexlog consistent with pg_recvl

[COMMITTERS] pgsql: pg_recvlogical message and code improvements.

2014-08-12 Thread Andres Freund
pg_recvlogical message and code improvements. Some error messages complained about --init and --stop being used whereas the --create and --drop are the correct verbs. Fix that. Also a XLogRecPtr was tested in a boolean fashion instead of being compared to InvalidXLogRecPtr. Backpatch to 9.4 wher

[COMMITTERS] pgsql: pg_recvlogical message and code improvements.

2014-08-12 Thread Andres Freund
pg_recvlogical message and code improvements. Some error messages complained about --init and --stop being used whereas the --create and --drop are the correct verbs. Fix that. Also a XLogRecPtr was tested in a boolean fashion instead of being compared to InvalidXLogRecPtr. Backpatch to 9.4 wher

[COMMITTERS] pgsql: Fix typo in \setrandom document.

2014-08-12 Thread Fujii Masao
Fix typo in \setrandom document. Fabien COELHO Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/d6ded369a7793c926661f492c153a6dd05afc5bc Modified Files -- doc/src/sgml/pgbench.sgml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgs

[COMMITTERS] pgsql: Be less aggressive in asking for feedback of logical walsender c

2014-08-12 Thread Andres Freund
Be less aggressive in asking for feedback of logical walsender clients. When doing logical decoding using START_LOGICAL_REPLICATION in a walsender process the walsender sometimes was sending out keepalive messages too frequently. Asking for feedback every time. WalSndWaitForWal() sends out keepal

[COMMITTERS] pgsql: Be less aggressive in asking for feedback of logical walsender c

2014-08-12 Thread Andres Freund
Be less aggressive in asking for feedback of logical walsender clients. When doing logical decoding using START_LOGICAL_REPLICATION in a walsender process the walsender sometimes was sending out keepalive messages too frequently. Asking for feedback every time. WalSndWaitForWal() sends out keepal

[COMMITTERS] pgsql: Enhance pgbench's option checking.

2014-08-12 Thread Tatsuo Ishii
Enhance pgbench's option checking. Now benchmarking options such as -c cannot be used if initializing option (-i) is specified. Also initializing options such as -F cannot be used if initializing option is not specified. Tatsuo Ishii and Fabien COELHO. Branch -- master Details --- http

[COMMITTERS] pgsql: Change first call of ProcessConfigFile so as to process only dat

2014-08-12 Thread Fujii Masao
Change first call of ProcessConfigFile so as to process only data_directory. When both postgresql.conf and postgresql.auto.conf have their own entry of the same parameter, PostgreSQL uses the entry in postgresql.auto.conf because it appears last in the configuration scan. IOW, the other entries wh

[COMMITTERS] pgsql: Change first call of ProcessConfigFile so as to process only dat

2014-08-12 Thread Fujii Masao
Change first call of ProcessConfigFile so as to process only data_directory. When both postgresql.conf and postgresql.auto.conf have their own entry of the same parameter, PostgreSQL uses the entry in postgresql.auto.conf because it appears last in the configuration scan. IOW, the other entries wh