pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Trivial adjustments in preparation for bootstrap data conversion
Date: Sat, 03 Mar 2018 17:05:38 +0000
Message-ID: <E1esAbK-0006sD-8E@gemulon.postgresql.org> (raw)

Trivial adjustments in preparation for bootstrap data conversion.

Rationalize a couple of macro names:
* In catalog/pg_init_privs.h, rename Anum_pg_init_privs_privs to
  Anum_pg_init_privs_initprivs to match the column's actual name.
* In ecpg, rename ZPBITOID to BITOID to match catalog/pg_type.h.
This reduces reader confusion, and will allow us to generate these
macros automatically in future.

In catalog/pg_tablespace.h, fix the ordering of related DATA and
#define lines to agree with how it's done elsewhere.  This has no
impact today, but simplifies life for the bootstrap data conversion
scripts.

John Naylor

Discussion: https://postgr.es/m/CAJVSVGXnLH=BSo0x-aA818f=MyQqGS5nM-GDCWAMdnvQJTRC1A@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/catalog/aclchk.c          | 6 +++---
src/include/catalog/pg_init_privs.h   | 2 +-
src/include/catalog/pg_tablespace.h   | 3 +--
src/interfaces/ecpg/ecpglib/execute.c | 2 +-
src/interfaces/ecpg/ecpglib/pg_type.h | 2 +-
5 files changed, 7 insertions(+), 8 deletions(-)



Message-ID: <E1esAbK-0006sD-8E@gemulon.postgresql.org>
Permalink:  ../E1esAbK-0006sD-8E@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1esAbK-0006sD-8E@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Trivial adjustments in preparation for bootstrap data conversion
  In-Reply-To: <E1esAbK-0006sD-8E@gemulon.postgresql.org>
  References: <E1esAbK-0006sD-8E@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