postgresql/src/backend/catalog
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
..
.gitignore Build in some knowledge about foreign-key relationships in the catalogs. 2021-02-02 17:11:55 -05:00
Catalog.pm Update copyright for 2022 2022-01-07 19:04:57 -05:00
Makefile Correct Makefile dependencies for catalog scripts 2022-02-14 09:07:09 +07:00
aclchk.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
catalog.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
dependency.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
genbki.pl Update copyright for 2022 2022-01-07 19:04:57 -05:00
heap.c pg_upgrade: Preserve relfilenodes and tablespace OIDs. 2022-01-17 13:40:27 -05:00
index.c Add UNIQUE null treatment option 2022-02-03 11:48:21 +01:00
indexing.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
information_schema.sql Add UNIQUE null treatment option 2022-02-03 11:48:21 +01:00
namespace.c Fix temporary object cleanup failing due to toast access without snapshot. 2022-02-21 08:57:34 -08:00
objectaccess.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
objectaddress.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
partition.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_aggregate.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_cast.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_class.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_collation.c Change collate and ctype fields to type text 2022-01-27 08:54:25 +01:00
pg_constraint.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_conversion.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_db_role_setting.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_depend.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_enum.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_inherits.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_largeobject.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_namespace.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_operator.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_proc.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_publication.c Allow specifying row filters for logical replication of tables. 2022-02-22 08:11:50 +05:30
pg_range.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_shdepend.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_subscription.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_type.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
sql_feature_packages.txt Cleanup in SQL features files 2020-03-28 08:46:18 +01:00
sql_features.txt Add UNIQUE null treatment option 2022-02-03 11:48:21 +01:00
storage.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
system_functions.sql Fix catalog data of pg_stop_backup(), labelled v2 2022-03-03 10:51:57 +09:00
system_views.sql Reconsider pg_stat_subscription_workers view. 2022-03-01 06:17:52 +05:30
toasting.c Add UNIQUE null treatment option 2022-02-03 11:48:21 +01:00