pgsql: doc: Mention that partitions_{done,total} is 0 for REINDEX progr

2021-02-19 Thread Michael Paquier
doc: Mention that partitions_{done,total} is 0 for REINDEX progress reports REINDEX has recently gained support for partitions, so it can be confusing to see those fields not being set. Making useful reports for for such relations is more complicated than it looks with the current set of columns

pgsql: Fix inconsistent configure data for --with-ssl

2021-02-19 Thread Michael Paquier
Fix inconsistent configure data for --with-ssl This inconsistency was showing up after an autoreconf. Reported-by: Antonin Houska Reviewed-by: Tom Lane Discussion: https://postgr.es/m/47255.1613716807@antos Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/a899ec1cb2

pgsql: Fix psql's ON_ERROR_ROLLBACK so that it handles COMMIT AND CHAIN

2021-02-19 Thread Fujii Masao
Fix psql's ON_ERROR_ROLLBACK so that it handles COMMIT AND CHAIN. When ON_ERROR_ROLLBACK is enabled, psql releases a temporary savepoint if it's idle in a valid transaction block after executing a query. But psql doesn't do that after RELEASE or ROLLBACK is executed because a temporary savepoint h

pgsql: Fix psql's ON_ERROR_ROLLBACK so that it handles COMMIT AND CHAIN

2021-02-19 Thread Fujii Masao
Fix psql's ON_ERROR_ROLLBACK so that it handles COMMIT AND CHAIN. When ON_ERROR_ROLLBACK is enabled, psql releases a temporary savepoint if it's idle in a valid transaction block after executing a query. But psql doesn't do that after RELEASE or ROLLBACK is executed because a temporary savepoint h

pgsql: Fix psql's ON_ERROR_ROLLBACK so that it handles COMMIT AND CHAIN

2021-02-19 Thread Fujii Masao
Fix psql's ON_ERROR_ROLLBACK so that it handles COMMIT AND CHAIN. When ON_ERROR_ROLLBACK is enabled, psql releases a temporary savepoint if it's idle in a valid transaction block after executing a query. But psql doesn't do that after RELEASE or ROLLBACK is executed because a temporary savepoint h

pgsql: Fix bug in COMMIT AND CHAIN command.

2021-02-19 Thread Fujii Masao
Fix bug in COMMIT AND CHAIN command. This commit fixes COMMIT AND CHAIN command so that it starts new transaction immediately even if savepoints are defined within the transaction to commit. Previously COMMIT AND CHAIN command did not in that case because commit 280a408b48 forgot to make CommitTra

pgsql: Fix bug in COMMIT AND CHAIN command.

2021-02-19 Thread Fujii Masao
Fix bug in COMMIT AND CHAIN command. This commit fixes COMMIT AND CHAIN command so that it starts new transaction immediately even if savepoints are defined within the transaction to commit. Previously COMMIT AND CHAIN command did not in that case because commit 280a408b48 forgot to make CommitTra

pgsql: Fix bug in COMMIT AND CHAIN command.

2021-02-19 Thread Fujii Masao
Fix bug in COMMIT AND CHAIN command. This commit fixes COMMIT AND CHAIN command so that it starts new transaction immediately even if savepoints are defined within the transaction to commit. Previously COMMIT AND CHAIN command did not in that case because commit 280a408b48 forgot to make CommitTra