pgsql: Trivial adjustments in preparation for bootstrap dataconversion

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Trivial adjustments in preparation for bootstrap dataconversion
Дата
Msg-id E1esAbK-0006sD-8E@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: doc: Improve wording
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Minor fixes for reloptions tests