pgsql: Add PublicationTable and PublicationRelInfo structs

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Add PublicationTable and PublicationRelInfo structs
Дата
Msg-id E1mNIYw-000498-EL@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add PublicationTable and PublicationRelInfo structs

These encapsulate a relation when referred from replication DDL.
Currently they don't do anything useful (they're just wrappers around
RangeVar and Relation respectively) but in the future they'll be used to
carry column lists.

Extracted from a larger patch by Rahila Syed.

Author: Rahila Syed <rahilasyed90@gmail.com>
Reviewed-by: Álvaro Herrera <alvherre@alvh.no-ip.org>
Reviewed-by: Tomas Vondra <tomas.vondra@enterprisedb.com>
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Discussion: https://postgr.es/m/CAH2L28vddB_NFdRVpuyRBJEBWjz4BSyTB=_ektNRH8NJ1jf95g@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0c6828fa987b791744b9c8685aadf1baa21f8977

Modified Files
--------------
src/backend/catalog/pg_publication.c   | 10 +++----
src/backend/commands/publicationcmds.c | 53 ++++++++++++++++++++++------------
src/backend/nodes/copyfuncs.c          | 12 ++++++++
src/backend/nodes/equalfuncs.c         | 11 +++++++
src/backend/parser/gram.y              | 26 +++++++++++++----
src/include/catalog/pg_publication.h   |  7 ++++-
src/include/nodes/nodes.h              |  1 +
src/include/nodes/parsenodes.h         |  5 ++++
src/tools/pgindent/typedefs.list       |  1 +
9 files changed, 95 insertions(+), 31 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix actively-misleading comments about the contents of struct pg
Следующее
От: Noah Misch
Дата:
Сообщение: pgsql: AIX: Fix missing libpq symbols by respecting SHLIB_EXPORTS.