pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move RelFileNumber declarations to common/relpath.h.
Date: Tue, 27 Sep 2022 16:11:27 +0000
Message-ID: <E1odDB8-002Gdv-Ua@gemulon.postgresql.org> (raw)

Move RelFileNumber declarations to common/relpath.h.

Previously, these were declared in postgres_ext.h, but they are not
needed nearly so widely as the OID declarations, so that doesn't
necessarily make sense. Also, because postgres_ext.h is included
before most of c.h has been processed, the previous location creates
some problems for a pending patch.

Patch by me, reviewed by Dilip Kumar.

Discussion: http://postgr.es/m/CA+TgmoYc8oevMqRokZQ4y_6aRn-7XQny1JBr5DyWR_jiFtONHw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2f47715cc8649f854b1df28dfc338af9801db217

Modified Files
--------------
src/bin/pg_dump/pg_dump.c            | 1 +
src/bin/pg_upgrade/pg_upgrade.h      | 1 +
src/include/catalog/binary_upgrade.h | 2 ++
src/include/common/relpath.h         | 7 +++++++
src/include/nodes/parsenodes.h       | 1 +
src/include/nodes/plannodes.h        | 1 +
src/include/postgres_ext.h           | 8 --------
src/include/utils/relcache.h         | 1 +
8 files changed, 14 insertions(+), 8 deletions(-)



Message-ID: <E1odDB8-002Gdv-Ua@gemulon.postgresql.org>
Permalink:  ../E1odDB8-002Gdv-Ua@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1odDB8-002Gdv-Ua@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: rhaas@postgresql.org
  Subject: Re: pgsql: Move RelFileNumber declarations to common/relpath.h.
  In-Reply-To: <E1odDB8-002Gdv-Ua@gemulon.postgresql.org>
  References: <E1odDB8-002Gdv-Ua@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