postgresql/src/include/catalog
Tom Lane ae5205c8a8 Make argument names of pg_get_object_address consistent, and fix docs.
pg_get_object_address and pg_identify_object_as_address are supposed
to be inverses, but they disagreed as to the names of the arguments
representing the textual form of an object address.  Moreover, the
documented argument names didn't agree with reality at all, either
for these functions or pg_identify_object.

In HEAD and v11, I think we can get away with renaming the input
arguments of pg_get_object_address to match the outputs of
pg_identify_object_as_address.  In theory that might break queries
using named-argument notation to call pg_get_object_address, but
it seems really unlikely that anybody is doing that, or that they'd
have much trouble adjusting if they were.  In older branches, we'll
just live with the lack of consistency.

Aside from fixing the documentation of these functions to match reality,
I couldn't resist the temptation to do some copy-editing.

Per complaint from Jean-Pierre Pelletier.  Back-patch to 9.5 where these
functions were introduced.  (Before v11, this is a documentation change
only.)

Discussion: https://postgr.es/m/CANGqjDnWH8wsTY_GzDUxbt4i=y-85SJreZin4Hm8uOqv1vzRQA@mail.gmail.com
2018-09-05 13:47:28 -04:00
..
.gitignore Replace our traditional initial-catalog-data format with a better design. 2018-04-08 13:17:27 -04:00
binary_upgrade.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
catalog.h Further cleanup of client dependencies on src/include/catalog headers. 2018-04-09 14:39:58 -04:00
catversion.h Make argument names of pg_get_object_address consistent, and fix docs. 2018-09-05 13:47:28 -04:00
dependency.h Local partitioned indexes 2018-01-19 11:49:22 -03:00
duplicate_oids Fix duplicate_oids and unused_oids so user needn't cd to catalog dir. 2018-04-26 11:20:01 -04:00
genbki.h Replace our traditional initial-catalog-data format with a better design. 2018-04-08 13:17:27 -04:00
heap.h Error position support for defaults and check constraints 2018-08-30 08:20:23 +02:00
index.h Allow UNIQUE indexes on partitioned tables 2018-02-19 17:40:00 -03:00
indexing.h Fully enforce uniqueness of constraint names. 2018-09-04 13:45:35 -04:00
Makefile Replace our traditional initial-catalog-data format with a better design. 2018-04-08 13:17:27 -04:00
namespace.h Make autovacuum more aggressive to remove orphaned temp tables 2018-08-13 11:49:04 +02:00
objectaccess.h Fix typo 2018-03-07 09:02:57 -05:00
objectaddress.h Replace AclObjectKind with ObjectType 2018-01-19 14:01:15 -05:00
opfam_internal.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
partition.h Reorganize partitioning code 2018-04-14 21:12:14 -03:00
pg_aggregate.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_aggregate.h Improve spelling of new FINALFUNC_MODIFY aggregate attribute. 2018-05-21 11:41:42 -04:00
pg_am.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_am.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_amop.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_amop.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_amproc.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_amproc.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_attrdef.h Add some not null constraints to catalogs 2018-08-27 16:21:23 +02:00
pg_attribute.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_auth_members.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_authid.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_authid.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_cast.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_cast.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_class.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_class.h Post-feature-freeze pgindent run. 2018-04-26 14:47:16 -04:00
pg_collation.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_collation.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_constraint.h Fully enforce uniqueness of constraint names. 2018-09-04 13:45:35 -04:00
pg_control.h Revert "Allow on-line enabling and disabling of data checksums" 2018-04-09 19:03:42 +02:00
pg_conversion.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_database.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_database.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_db_role_setting.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_default_acl.h Add some not null constraints to catalogs 2018-08-27 16:21:23 +02:00
pg_depend.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_description.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_enum.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_event_trigger.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_extension.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_foreign_data_wrapper.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_foreign_server.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_foreign_table.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_index.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_inherits.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_init_privs.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_language.dat Cosmetic improvement: use BKI_DEFAULT and BKI_LOOKUP in pg_language. 2018-04-29 13:26:26 -04:00
pg_language.h Cosmetic improvement: use BKI_DEFAULT and BKI_LOOKUP in pg_language. 2018-04-29 13:26:26 -04:00
pg_largeobject.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_largeobject_metadata.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_namespace.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_namespace.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_opclass.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_opclass.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_operator.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_operator.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_opfamily.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_opfamily.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_partitioned_table.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_pltemplate.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_pltemplate.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_policy.h Add some not null constraints to catalogs 2018-08-27 16:21:23 +02:00
pg_proc.dat Make argument names of pg_get_object_address consistent, and fix docs. 2018-09-05 13:47:28 -04:00
pg_proc.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_publication.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_publication_rel.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_range.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_range.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_replication_origin.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_rewrite.h Add some not null constraints to catalogs 2018-08-27 16:21:23 +02:00
pg_seclabel.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_sequence.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_shdepend.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_shdescription.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_shseclabel.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_statistic.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_statistic_ext.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_subscription.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_subscription_rel.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_tablespace.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_tablespace.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_transform.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_trigger.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_ts_config.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_ts_config.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_ts_config_map.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_ts_config_map.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_ts_dict.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_ts_dict.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_ts_parser.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_ts_parser.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_ts_template.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_ts_template.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_type.dat Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
pg_type.h Update a couple of long-obsolete comments in pg_type.h. 2018-05-26 13:47:26 -04:00
pg_user_mapping.h Improve consistency of comments in system catalog headers. 2018-04-19 17:14:09 -04:00
reformat_dat_file.pl Don't fall off the end of perl functions 2018-05-27 09:08:42 -04:00
storage.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
storage_xlog.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
toasting.h Add toast tables to most system catalogs 2018-07-20 07:43:41 +09:00
unused_oids Assorted minor cleanups for bootstrap-data Perl scripts. 2018-05-19 16:04:47 -04:00