pgsql: Use $Test::Builder::Level in TAP test functions

2018-07-01 Thread Peter Eisentraut
Use $Test::Builder::Level in TAP test functions In TAP test functions, that is, those that produce test results, locally increment $Test::Builder::Level. This has the effect that test failures are reported at the callers location rather than somewhere in the test support libraries. Reviewed-by:

pgsql: Add tests for inheritance trees mixing permanent and temporary r

2018-07-01 Thread Michael Paquier
Add tests for inheritance trees mixing permanent and temporary relations While working on 1c7c317c and related things, which has clarified the use of partitions with temporary tables, I have noticed that there could be better coverage for inheritance trees mixing temporary and permanent relations.

pgsql: Use more modern instructions for creating a new dev cycle

2018-07-01 Thread Andrew Dunstan
Use more modern instructions for creating a new dev cycle Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/56b4da8c9d11f685f1fe2e11cf015e850913b6b8 Modified Files -- src/tools/RELEASE_CHANGES | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-)

pgsql: Fix libpq example programs

2018-07-01 Thread Peter Eisentraut
Fix libpq example programs When these programs call pg_catalog.set_config, they need to check for PGRES_TUPLES_OK instead of PGRES_COMMAND_OK. Fix for 5770172cb0c9df9e6ce27c507b449557e5b45124. Reported-by: Ideriha, Takeshi Branch -- REL_11_STABLE Details --- https://git.postgresql.org

pgsql: Fix libpq example programs

2018-07-01 Thread Peter Eisentraut
Fix libpq example programs When these programs call pg_catalog.set_config, they need to check for PGRES_TUPLES_OK instead of PGRES_COMMAND_OK. Fix for 5770172cb0c9df9e6ce27c507b449557e5b45124. Reported-by: Ideriha, Takeshi Branch -- REL_10_STABLE Details --- https://git.postgresql.org

pgsql: Fix libpq example programs

2018-07-01 Thread Peter Eisentraut
Fix libpq example programs When these programs call pg_catalog.set_config, they need to check for PGRES_TUPLES_OK instead of PGRES_COMMAND_OK. Fix for 5770172cb0c9df9e6ce27c507b449557e5b45124. Reported-by: Ideriha, Takeshi Branch -- REL9_4_STABLE Details --- https://git.postgresql.org

pgsql: Fix libpq example programs

2018-07-01 Thread Peter Eisentraut
Fix libpq example programs When these programs call pg_catalog.set_config, they need to check for PGRES_TUPLES_OK instead of PGRES_COMMAND_OK. Fix for 5770172cb0c9df9e6ce27c507b449557e5b45124. Reported-by: Ideriha, Takeshi Branch -- REL9_5_STABLE Details --- https://git.postgresql.org

pgsql: Fix libpq example programs

2018-07-01 Thread Peter Eisentraut
Fix libpq example programs When these programs call pg_catalog.set_config, they need to check for PGRES_TUPLES_OK instead of PGRES_COMMAND_OK. Fix for 5770172cb0c9df9e6ce27c507b449557e5b45124. Reported-by: Ideriha, Takeshi Branch -- REL9_6_STABLE Details --- https://git.postgresql.org

pgsql: Fix libpq example programs

2018-07-01 Thread Peter Eisentraut
Fix libpq example programs When these programs call pg_catalog.set_config, they need to check for PGRES_TUPLES_OK instead of PGRES_COMMAND_OK. Fix for 5770172cb0c9df9e6ce27c507b449557e5b45124. Reported-by: Ideriha, Takeshi Branch -- REL9_3_STABLE Details --- https://git.postgresql.org

pgsql: Fix libpq example programs

2018-07-01 Thread Peter Eisentraut
Fix libpq example programs When these programs call pg_catalog.set_config, they need to check for PGRES_TUPLES_OK instead of PGRES_COMMAND_OK. Fix for 5770172cb0c9df9e6ce27c507b449557e5b45124. Reported-by: Ideriha, Takeshi Branch -- master Details --- https://git.postgresql.org/pg/com

pgsql: pg_standby: Remove code for .backup files

2018-07-01 Thread Peter Eisentraut
pg_standby: Remove code for .backup files These files are no longer requested on recovery (since 06f82b29616cd9effcaefd99c6b6e2e80697482f), so the code for handling them here is useless. Author: Yugo Nagata Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/a33969ee9

pgsql: Correct function name in comment of logical decoding code

2018-07-01 Thread Michael Paquier
Correct function name in comment of logical decoding code Reported-by: Dave Cramer Author: Euler Taveira Discussion: https://postgr.es/m/cadk3hhknpgjdlhjofby6+70wd14ieh8c2gkw7urouuhp_gn...@mail.gmail.com Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/c072e80337e6b