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: Restructure DECLARE_INDEX arguments
Date: Thu, 31 Aug 2023 06:23:00 +0000
Message-ID: <E1qbb52-001mVb-4m@gemulon.postgresql.org> (raw)

Restructure DECLARE_INDEX arguments

Separate the table name from the index declaration.  We need that
anyway later for the ALTER TABLE / USING INDEX commands, so we might
as well structure the declarations like that to begin with.

Discussion: https://www.postgresql.org/message-id/flat/75ae5875-3abc-dafc-8aec-73247ed41cde@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/226d0a6b989bec6cb0cc3bfc07df9fd417644782

Modified Files
--------------
src/backend/catalog/Catalog.pm                 |  1 +
src/backend/catalog/genbki.pl                  |  7 +++----
src/include/catalog/genbki.h                   | 10 +++++-----
src/include/catalog/pg_aggregate.h             |  2 +-
src/include/catalog/pg_am.h                    |  4 ++--
src/include/catalog/pg_amop.h                  |  6 +++---
src/include/catalog/pg_amproc.h                |  4 ++--
src/include/catalog/pg_attrdef.h               |  4 ++--
src/include/catalog/pg_attribute.h             |  4 ++--
src/include/catalog/pg_auth_members.h          |  8 ++++----
src/include/catalog/pg_authid.h                |  4 ++--
src/include/catalog/pg_cast.h                  |  4 ++--
src/include/catalog/pg_class.h                 |  6 +++---
src/include/catalog/pg_collation.h             |  4 ++--
src/include/catalog/pg_constraint.h            | 10 +++++-----
src/include/catalog/pg_conversion.h            |  6 +++---
src/include/catalog/pg_database.h              |  4 ++--
src/include/catalog/pg_db_role_setting.h       |  2 +-
src/include/catalog/pg_default_acl.h           |  4 ++--
src/include/catalog/pg_depend.h                |  4 ++--
src/include/catalog/pg_description.h           |  2 +-
src/include/catalog/pg_enum.h                  |  6 +++---
src/include/catalog/pg_event_trigger.h         |  4 ++--
src/include/catalog/pg_extension.h             |  4 ++--
src/include/catalog/pg_foreign_data_wrapper.h  |  4 ++--
src/include/catalog/pg_foreign_server.h        |  4 ++--
src/include/catalog/pg_foreign_table.h         |  2 +-
src/include/catalog/pg_index.h                 |  4 ++--
src/include/catalog/pg_inherits.h              |  4 ++--
src/include/catalog/pg_init_privs.h            |  2 +-
src/include/catalog/pg_language.h              |  4 ++--
src/include/catalog/pg_largeobject.h           |  2 +-
src/include/catalog/pg_largeobject_metadata.h  |  2 +-
src/include/catalog/pg_namespace.h             |  4 ++--
src/include/catalog/pg_opclass.h               |  4 ++--
src/include/catalog/pg_operator.h              |  4 ++--
src/include/catalog/pg_opfamily.h              |  4 ++--
src/include/catalog/pg_parameter_acl.h         |  4 ++--
src/include/catalog/pg_partitioned_table.h     |  2 +-
src/include/catalog/pg_policy.h                |  4 ++--
src/include/catalog/pg_proc.h                  |  4 ++--
src/include/catalog/pg_publication.h           |  4 ++--
src/include/catalog/pg_publication_namespace.h |  4 ++--
src/include/catalog/pg_publication_rel.h       |  6 +++---
src/include/catalog/pg_range.h                 |  4 ++--
src/include/catalog/pg_replication_origin.h    |  4 ++--
src/include/catalog/pg_rewrite.h               |  4 ++--
src/include/catalog/pg_seclabel.h              |  2 +-
src/include/catalog/pg_sequence.h              |  2 +-
src/include/catalog/pg_shdepend.h              |  4 ++--
src/include/catalog/pg_shdescription.h         |  2 +-
src/include/catalog/pg_shseclabel.h            |  2 +-
src/include/catalog/pg_statistic.h             |  2 +-
src/include/catalog/pg_statistic_ext.h         |  6 +++---
src/include/catalog/pg_statistic_ext_data.h    |  2 +-
src/include/catalog/pg_subscription.h          |  4 ++--
src/include/catalog/pg_subscription_rel.h      |  2 +-
src/include/catalog/pg_tablespace.h            |  4 ++--
src/include/catalog/pg_transform.h             |  4 ++--
src/include/catalog/pg_trigger.h               |  6 +++---
src/include/catalog/pg_ts_config.h             |  4 ++--
src/include/catalog/pg_ts_config_map.h         |  2 +-
src/include/catalog/pg_ts_dict.h               |  4 ++--
src/include/catalog/pg_ts_parser.h             |  4 ++--
src/include/catalog/pg_ts_template.h           |  4 ++--
src/include/catalog/pg_type.h                  |  4 ++--
src/include/catalog/pg_user_mapping.h          |  4 ++--
67 files changed, 133 insertions(+), 133 deletions(-)



Message-ID: <E1qbb52-001mVb-4m@gemulon.postgresql.org>
Permalink:  ../E1qbb52-001mVb-4m@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qbb52-001mVb-4m@gemulon.postgresql.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Restructure DECLARE_INDEX arguments
  In-Reply-To: <E1qbb52-001mVb-4m@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