pgsql: Rename some enums to use TABLE instead of REL.

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема pgsql: Rename some enums to use TABLE instead of REL.
Дата
Msg-id E1mkHdv-00049q-Hx@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Rename some enums to use TABLE instead of REL.

Commit 5a2832465f introduced some enums to represent all tables in schema
publications and used REL in their names. Use TABLE instead of REL in
those enums to avoid confusion with other objects like SEQUENCES that can
be part of a publication in the future.

In the passing, (a) Change one of the newly introduced error messages to
make it consistent for Create and Alter commands, (b) add missing alias in
one of the SQL Statements that is used to print publications associated
with the table.

Reported-by: Tomas Vondra, Peter Smith
Author: Vignesh C
Reviewed-by: Hou Zhijie, Peter Smith
Discussion: https://www.postgresql.org/message-id/CALDaNm0OANxuJ6RXqwZsM1MSY4s19nuH3734j4a72etDwvBETQ%40mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/commands/publicationcmds.c    |  8 ++++----
src/backend/parser/gram.y                 | 14 +++++++-------
src/bin/pg_dump/pg_dump.c                 |  6 +++---
src/bin/pg_dump/pg_dump.h                 |  2 +-
src/bin/pg_dump/pg_dump_sort.c            |  6 +++---
src/bin/psql/describe.c                   |  2 +-
src/include/nodes/parsenodes.h            |  5 +++--
src/test/regress/expected/publication.out |  4 ++--
8 files changed, 24 insertions(+), 23 deletions(-)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pgsql: Fix incorrect format placeholder.
Следующее
От: Fujii Masao
Дата:
Сообщение: pgsql: doc: Add index entries for pg_stat_statements configuration para