]> granicus.if.org Git - postgresql/commit
Trivial adjustments in preparation for bootstrap data conversion.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 3 Mar 2018 16:23:33 +0000 (11:23 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 3 Mar 2018 16:23:33 +0000 (11:23 -0500)
commita351679c806ec9591ef4aaf5534d642e35140b9d
treed9127992a66548251df21fd24cc3c7883e65c8fe
parent506652bcaea74a23d6f0a33923a7f558126b472d
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
src/backend/catalog/aclchk.c
src/include/catalog/pg_init_privs.h
src/include/catalog/pg_tablespace.h
src/interfaces/ecpg/ecpglib/execute.c
src/interfaces/ecpg/ecpglib/pg_type.h