postgresql/src/backend
Michael Paquier 62ce0c758d Fix catalog data of pg_stop_backup(), labelled v2
This function has been incorrectly marked as a set-returning function
with prorows (estimated number of rows) set to 1 since its creation in
7117685, that introduced non-exclusive backups.  There is no need for
that as the function is designed to return only one tuple.

This commit fixes the catalog definition of pg_stop_backup_v2() so as it
is not marked as proretset anymore, with prorows set to 0.  This
simplifies its internals by removing one tuplestore (used for one single
record anyway) and by removing all the checks related to a set-returning
function.

Issue found during my quest to simplify some of the logic used in
in-core system functions.

Bump catalog version.

Reviewed-by: Aleksander Alekseev, Kyotaro Horiguchi
Discussion: https://postgr.es/m/Yh8guT78f1Ercfzw@paquier.xyz
2022-03-03 10:51:57 +09:00
..
access Fix catalog data of pg_stop_backup(), labelled v2 2022-03-03 10:51:57 +09:00
bootstrap pg_upgrade: Preserve relfilenodes and tablespace OIDs. 2022-01-17 13:40:27 -05:00
catalog Fix catalog data of pg_stop_backup(), labelled v2 2022-03-03 10:51:57 +09:00
commands Clean up and simplify code in a couple of set-returning functions 2022-02-24 16:11:34 +09:00
executor Don't use static storage for SaveTransactionCharacteristics(). 2022-02-28 12:54:12 -05:00
foreign Clean up and simplify code in a couple of set-returning functions 2022-02-24 16:11:34 +09:00
jit Track LLVM 15 changes. 2022-02-14 15:51:43 +13:00
lib Update copyright for 2022 2022-01-07 19:04:57 -05:00
libpq Allow root-owned SSL private keys in libpq, not only the backend. 2022-02-28 14:12:52 -05:00
main windows: Improve crash / assert / exception handling. 2022-02-02 18:33:25 -08:00
nodes Allow specifying row filters for logical replication of tables. 2022-02-22 08:11:50 +05:30
optimizer Don't use_physical_tlist for an IOS with non-returnable columns. 2022-02-11 15:24:02 -05:00
parser Allow specifying row filters for logical replication of tables. 2022-02-22 08:11:50 +05:30
partitioning Fix misuse of "const" qualifier. 2022-02-13 19:20:56 -05:00
po Translation updates 2021-06-21 12:33:50 +02:00
port Ensure that the argument of shmdt(2) is declared "void *". 2022-02-15 17:17:28 -05:00
postmaster Reconsider pg_stat_subscription_workers view. 2022-03-01 06:17:52 +05:30
regex Call pg_newlocale_from_collation() also with default collation 2022-01-20 09:50:18 +01:00
replication Reconsider pg_stat_subscription_workers view. 2022-03-01 06:17:52 +05:30
rewrite Update copyright for 2022 2022-01-07 19:04:57 -05:00
snowball Update copyright for 2022 2022-01-07 19:04:57 -05:00
statistics Fix various typos, grammar and code style in comments and docs 2022-01-25 09:40:04 +09:00
storage Add further debug info to help debug 019_replslot_limit.pl failures. 2022-02-25 17:04:39 -08:00
tcop Fix SPI's handling of errors during transaction commit. 2022-02-28 12:45:36 -05:00
tsearch Update copyright for 2022 2022-01-07 19:04:57 -05:00
utils Reconsider pg_stat_subscription_workers view. 2022-03-01 06:17:52 +05:30
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Server-side gzip compression. 2022-01-24 15:13:18 -05:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
nls.mk Report progress of startup operations that take a long time. 2021-10-25 11:51:57 -04:00