pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add index OID macro argument to DECLARE_INDEX
Date: Tue, 29 Jun 2021 06:15:42 +0000
Message-ID: <E1ly726-0004bb-TT@gemulon.postgresql.org> (raw )
Add index OID macro argument to DECLARE_INDEX
Instead of defining symbols such as AmOidIndexId explicitly, include
them as an argument of DECLARE_INDEX() and have genbki.pl generate the
way as the table OID symbols from the CATALOG() declaration.
Reviewed-by: John Naylor <john.naylor@enterprisedb.com>
Discussion: https://www.postgresql.org/message-id/flat/ccef1e46-a404-25b1-9b4c-85f2c08e1f28%40enterprisedb.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6a6389a08b228aa6bd21ced7a9c5151bf6f7f0a2
Modified Files
--------------
src/backend/catalog/Catalog.pm | 5 +++--
src/backend/catalog/genbki.pl | 8 ++++++++
src/backend/utils/cache/syscache.c | 4 ++--
src/include/catalog/genbki.h | 6 +++---
src/include/catalog/pg_aggregate.h | 3 +--
src/include/catalog/pg_am.h | 6 ++----
src/include/catalog/pg_amop.h | 9 +++------
src/include/catalog/pg_amproc.h | 6 ++----
src/include/catalog/pg_attrdef.h | 6 ++----
src/include/catalog/pg_attribute.h | 6 ++----
src/include/catalog/pg_auth_members.h | 6 ++----
src/include/catalog/pg_authid.h | 6 ++----
src/include/catalog/pg_cast.h | 6 ++----
src/include/catalog/pg_class.h | 9 +++------
src/include/catalog/pg_collation.h | 6 ++----
src/include/catalog/pg_constraint.h | 15 +++++----------
src/include/catalog/pg_conversion.h | 9 +++------
src/include/catalog/pg_database.h | 6 ++----
src/include/catalog/pg_db_role_setting.h | 3 +--
src/include/catalog/pg_default_acl.h | 6 ++----
src/include/catalog/pg_depend.h | 6 ++----
src/include/catalog/pg_description.h | 3 +--
src/include/catalog/pg_enum.h | 9 +++------
src/include/catalog/pg_event_trigger.h | 6 ++----
src/include/catalog/pg_extension.h | 6 ++----
src/include/catalog/pg_foreign_data_wrapper.h | 6 ++----
src/include/catalog/pg_foreign_server.h | 6 ++----
src/include/catalog/pg_foreign_table.h | 3 +--
src/include/catalog/pg_index.h | 6 ++----
src/include/catalog/pg_inherits.h | 6 ++----
src/include/catalog/pg_init_privs.h | 3 +--
src/include/catalog/pg_language.h | 6 ++----
src/include/catalog/pg_largeobject.h | 3 +--
src/include/catalog/pg_largeobject_metadata.h | 3 +--
src/include/catalog/pg_namespace.h | 6 ++----
src/include/catalog/pg_opclass.h | 6 ++----
src/include/catalog/pg_operator.h | 6 ++----
src/include/catalog/pg_opfamily.h | 6 ++----
src/include/catalog/pg_partitioned_table.h | 3 +--
src/include/catalog/pg_policy.h | 6 ++----
src/include/catalog/pg_proc.h | 6 ++----
src/include/catalog/pg_publication.h | 6 ++----
src/include/catalog/pg_publication_rel.h | 6 ++----
src/include/catalog/pg_range.h | 8 ++------
src/include/catalog/pg_replication_origin.h | 6 ++----
src/include/catalog/pg_rewrite.h | 6 ++----
src/include/catalog/pg_seclabel.h | 3 +--
src/include/catalog/pg_sequence.h | 3 +--
src/include/catalog/pg_shdepend.h | 6 ++----
src/include/catalog/pg_shdescription.h | 3 +--
src/include/catalog/pg_shseclabel.h | 3 +--
src/include/catalog/pg_statistic.h | 3 +--
src/include/catalog/pg_statistic_ext.h | 9 +++------
src/include/catalog/pg_statistic_ext_data.h | 3 +--
src/include/catalog/pg_subscription.h | 6 ++----
src/include/catalog/pg_subscription_rel.h | 3 +--
src/include/catalog/pg_tablespace.h | 6 ++----
src/include/catalog/pg_transform.h | 6 ++----
src/include/catalog/pg_trigger.h | 9 +++------
src/include/catalog/pg_ts_config.h | 6 ++----
src/include/catalog/pg_ts_config_map.h | 3 +--
src/include/catalog/pg_ts_dict.h | 6 ++----
src/include/catalog/pg_ts_parser.h | 6 ++----
src/include/catalog/pg_ts_template.h | 6 ++----
src/include/catalog/pg_type.h | 6 ++----
src/include/catalog/pg_user_mapping.h | 6 ++----
66 files changed, 133 insertions(+), 243 deletions(-)
Message-ID: <E1ly726-0004bb-TT@gemulon.postgresql.org>
Permalink: ../E1ly726-0004bb-TT@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1ly726-0004bb-TT@gemulon.postgresql.org
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org
Subject: Re: pgsql: Add index OID macro argument to DECLARE_INDEX
In-Reply-To: <E1ly726-0004bb-TT@gemulon.postgresql.org>
References: <E1ly726-0004bb-TT@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox