pgsql: Move catalog toast table declarations

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Move catalog toast table declarations
Date: 2020-11-07 11:32:24
Message-ID: E1kbMSG-0002Ez-SG@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Move catalog toast table declarations

Move the system catalog toast table declarations from
catalog/toasting.h to the respective parent tables' catalog/pg_*.h
files. The original reason for having it split was that the old
genbki system produced the output in the order of the catalog files it
read, so all the toasting stuff needed to come separately. But this
is no longer the case, and keeping it together makes more sense.

Reviewed-by: John Naylor <john(dot)naylor(at)enterprisedb(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/c7cc82d6-f976-75d6-2e3e-b03d2cab26bb(at)2ndquadrant(dot)com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b4c9695e79f79d39d55853acac4c1493ac70a529

Modified Files
--------------
doc/src/sgml/bki.sgml | 3 +-
src/backend/catalog/Makefile | 5 +-
src/backend/catalog/catalog.c | 3 +-
src/backend/catalog/toasting.c | 2 +-
src/include/catalog/duplicate_oids | 2 +-
src/include/catalog/genbki.h | 13 +++++
src/include/catalog/pg_aggregate.h | 2 +
src/include/catalog/pg_attrdef.h | 2 +
src/include/catalog/pg_authid.h | 4 ++
src/include/catalog/pg_constraint.h | 2 +
src/include/catalog/pg_database.h | 4 ++
src/include/catalog/pg_db_role_setting.h | 4 ++
src/include/catalog/pg_default_acl.h | 2 +
src/include/catalog/pg_depend.h | 2 +
src/include/catalog/pg_description.h | 2 +
src/include/catalog/pg_event_trigger.h | 2 +
src/include/catalog/pg_extension.h | 2 +
src/include/catalog/pg_foreign_data_wrapper.h | 2 +
src/include/catalog/pg_foreign_server.h | 2 +
src/include/catalog/pg_foreign_table.h | 2 +
src/include/catalog/pg_init_privs.h | 2 +
src/include/catalog/pg_language.h | 2 +
src/include/catalog/pg_namespace.h | 2 +
src/include/catalog/pg_partitioned_table.h | 2 +
src/include/catalog/pg_policy.h | 2 +
src/include/catalog/pg_proc.h | 2 +
src/include/catalog/pg_replication_origin.h | 4 ++
src/include/catalog/pg_rewrite.h | 2 +
src/include/catalog/pg_seclabel.h | 2 +
src/include/catalog/pg_shdescription.h | 4 ++
src/include/catalog/pg_shseclabel.h | 4 ++
src/include/catalog/pg_statistic.h | 2 +
src/include/catalog/pg_statistic_ext.h | 2 +
src/include/catalog/pg_statistic_ext_data.h | 2 +
src/include/catalog/pg_subscription.h | 4 ++
src/include/catalog/pg_tablespace.h | 4 ++
src/include/catalog/pg_trigger.h | 2 +
src/include/catalog/pg_ts_dict.h | 2 +
src/include/catalog/pg_type.h | 2 +
src/include/catalog/pg_user_mapping.h | 2 +
src/include/catalog/renumber_oids.pl | 4 +-
src/include/catalog/toasting.h | 75 ---------------------------
src/include/catalog/unused_oids | 2 +-
src/tools/msvc/Solution.pm | 1 -
44 files changed, 105 insertions(+), 89 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-11-07 20:03:57 pgsql: Fix ecpg's mishandling of B'...' and X'...' literals.
Previous Message Alvaro Herrera 2020-11-07 01:53:14 pgsql: Plug memory leak in index_get_partition