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: Move catalog toast table declarations
Date: Sat, 07 Nov 2020 11:32:24 +0000
Message-ID: <E1kbMSG-0002Ez-SG@gemulon.postgresql.org> (raw)

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.naylor@enterprisedb.com>
Discussion: https://www.postgresql.org/message-id/flat/c7cc82d6-f976-75d6-2e3e-b03d2cab26bb@2ndquadrant.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(-)



Message-ID: <E1kbMSG-0002Ez-SG@gemulon.postgresql.org>
Permalink:  ../E1kbMSG-0002Ez-SG@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kbMSG-0002Ez-SG@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 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: Move catalog toast table declarations
  In-Reply-To: <E1kbMSG-0002Ez-SG@gemulon.postgresql.org>
  References: <E1kbMSG-0002Ez-SG@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