pgsql: Refactor btvacuumpage().

2020-05-02 Thread Peter Geoghegan
Refactor btvacuumpage(). Remove one of the arguments to btvacuumpage(), and give up on the idea that it's a recursive function. We now use the term "backtracking" to refer to the case where an earlier block must be visited to make sure no tuples that need to be removed were missed. Advertising b

pgsql: Fix GSS client to non-GSS server connection

2020-05-02 Thread Stephen Frost
Fix GSS client to non-GSS server connection If the client is compiled with GSSAPI support and tries to start up GSS with the server, but the server is not compiled with GSSAPI support, we would mistakenly end up falling through to call ProcessStartupPacket with secure_done = true, but the client m

pgsql: Fix GSS client to non-GSS server connection

2020-05-02 Thread Stephen Frost
Fix GSS client to non-GSS server connection If the client is compiled with GSSAPI support and tries to start up GSS with the server, but the server is not compiled with GSSAPI support, we would mistakenly end up falling through to call ProcessStartupPacket with secure_done = true, but the client m

pgsql: Remove superfluous memset from pgstat_recv_resetslrucounter

2020-05-02 Thread Tomas Vondra
Remove superfluous memset from pgstat_recv_resetslrucounter The extra memset meant pg_stat_reset_slru() always reset all the entries even when reset of a single entry was requested, but the timestamp was left uninitialized. Reported-by: Atsushi Torikoshi Discussion: https://postgr.es/m/CACZ0uYFe

pgsql: Remove pg_xact from pg_stat_reset_slru docs

2020-05-02 Thread Tomas Vondra
Remove pg_xact from pg_stat_reset_slru docs This should have been included in 2e08d314ed. Reported-by: Fujii Masao Discussion: https://postgr.es/m/20200119143707.gyinppnigokesjok@development Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/e685ca63ca4f5d6c9c27499d94

pgsql: Add NLS to pg_verifybackup

2020-05-02 Thread Peter Eisentraut
Add NLS to pg_verifybackup Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/747134838870b842c5aae673065da7227517e5b5 Modified Files -- src/bin/pg_verifybackup/nls.mk| 17 + src/bin/pg_verifybackup/parse_manifest.h | 2 +- src/b