pgsql: Fix incorrect format placeholder

2021-10-12 Thread Peter Eisentraut
Fix incorrect format placeholder Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/780054bf31a0a6ba781f46c454f0116efee8a74c Modified Files -- src/bin/pgbench/pgbench.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

pgsql: Fix tests of pg_upgrade across different major versions

2021-10-12 Thread Michael Paquier
Fix tests of pg_upgrade across different major versions This fixes a set of issues that cause different breakages or annoyances when using pg_upgrade's test.sh to do upgrades across different major versions: - test.sh is completely broken when using v14 as new version because of the removal of tes

pgsql: Fix tests of pg_upgrade across different major versions

2021-10-12 Thread Michael Paquier
Fix tests of pg_upgrade across different major versions This fixes a set of issues that cause different breakages or annoyances when using pg_upgrade's test.sh to do upgrades across different major versions: - test.sh is completely broken when using v14 as new version because of the removal of tes

pgsql: Fix tests of pg_upgrade across different major versions

2021-10-12 Thread Michael Paquier
Fix tests of pg_upgrade across different major versions This fixes a set of issues that cause different breakages or annoyances when using pg_upgrade's test.sh to do upgrades across different major versions: - test.sh is completely broken when using v14 as new version because of the removal of tes

pgsql: Fix tests of pg_upgrade across different major versions

2021-10-12 Thread Michael Paquier
Fix tests of pg_upgrade across different major versions This fixes a set of issues that cause different breakages or annoyances when using pg_upgrade's test.sh to do upgrades across different major versions: - test.sh is completely broken when using v14 as new version because of the removal of tes

pgsql: psql: Fix some scan-build warnings

2021-10-12 Thread Peter Eisentraut
psql: Fix some scan-build warnings A repeated complaint was that scan-build thought that if the \timing setting changes during processing of a query, the post-processing might read garbage time values. This is probably not possible right now, but it's not entirely inconceivable given the code str

pgsql: Doc: normalize vacuum_multixact_failsafe_age ID.

2021-10-12 Thread Peter Geoghegan
Doc: normalize vacuum_multixact_failsafe_age ID. Author: Pavel Luzanov Discussion: https://postgr.es/m/c71a3cfc-a267-3d9f-1b44-fbd668d0a...@postgrespro.ru Backpatch: 14-, where the failsafe was introduced. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/00c61a74bc

pgsql: Doc: normalize vacuum_multixact_failsafe_age ID.

2021-10-12 Thread Peter Geoghegan
Doc: normalize vacuum_multixact_failsafe_age ID. Author: Pavel Luzanov Discussion: https://postgr.es/m/c71a3cfc-a267-3d9f-1b44-fbd668d0a...@postgrespro.ru Backpatch: 14-, where the failsafe was introduced. Branch -- REL_14_STABLE Details --- https://git.postgresql.org/pg/commitdiff/070

pgsql: Refactor basebackup.c's _tarWriteDir() function.

2021-10-12 Thread Robert Haas
Refactor basebackup.c's _tarWriteDir() function. Sometimes, we replace a symbolic link that we find in the data directory with an actual directory within the tarfile that we create. _tarWriteDir was responsible both for making this substitution and also for writing the tar header for the resulting

pgsql: psql: Fix test

2021-10-12 Thread Peter Eisentraut
psql: Fix test The test didn't work on platforms where getopt() doesn't support non-option arguments before options. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/d9ddc50bafc062ec1ae7f98b886b7950102d87fc Modified Files -- src/bin/psql/t/001_basic.pl |

pgsql: psql: Add test for handling of replication commands

2021-10-12 Thread Peter Eisentraut
psql: Add test for handling of replication commands Add a test for the clean handling of unsupported replication command responses. This was once accidentally broken, and it seems unusual enough that it's easy to forget when testing manually. Discussion: https://www.postgresql.org/message-id/25

pgsql: psql: More tests

2021-10-12 Thread Peter Eisentraut
psql: More tests Add some basic tests for command-line option handling and help output, similar to what we have for other command-line programs. This also creates a place to put some more one-off test cases later. Discussion: https://www.postgresql.org/message-id/2570e2ae-fa0f-aac9-f72f-bb59a99