postgresql/src
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
..
backend Fix catalog data of pg_stop_backup(), labelled v2 2022-03-03 10:51:57 +09:00
bin Fix typo in pgbench messages. 2022-03-02 08:28:12 +09:00
common Use bitwise rotate functions in more places 2022-02-20 13:22:08 +07:00
fe_utils Reject trailing junk after numeric literals 2022-02-16 10:37:31 +01:00
include Fix catalog data of pg_stop_backup(), labelled v2 2022-03-03 10:51:57 +09:00
interfaces Allow root-owned SSL private keys in libpq, not only the backend. 2022-02-28 14:12:52 -05:00
makefiles Add NO_INSTALL option to pgxs 2021-05-27 13:58:29 +02:00
pl Fix SPI's handling of errors during transaction commit. 2022-02-28 12:45:36 -05:00
port Simplify coding around path_contains_parent_reference(). 2022-01-31 13:53:38 -05:00
template Further tweaking of PG_SYSROOT heuristics for macOS. 2021-01-20 12:07:23 -05:00
test Reconsider pg_stat_subscription_workers view. 2022-03-01 06:17:52 +05:30
timezone Update copyright for 2022 2022-01-07 19:04:57 -05:00
tools Reconsider pg_stat_subscription_workers view. 2022-03-01 06:17:52 +05:30
tutorial Update copyright for 2022 2022-01-07 19:04:57 -05:00
.gitignore
DEVELOPERS
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in Run tap tests in src/interfaces/libpq. 2022-02-26 16:51:47 -08:00
Makefile.shlib AIX: Fix missing libpq symbols by respecting SHLIB_EXPORTS. 2021-09-06 11:27:59 -07:00
nls-global.mk Add errhint_plural() function and make use of it 2021-03-31 09:16:25 +02:00