Add PublicationTable and PublicationRelInfo structs
Alvaro Herrera <alvherre@alvh.no-ip.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/pg_publication.c | modified | +5 −5 |
| src/backend/commands/publicationcmds.c | modified | +34 −19 |
| src/backend/nodes/copyfuncs.c | modified | +12 −0 |
| src/backend/nodes/equalfuncs.c | modified | +11 −0 |
| src/backend/parser/gram.y | modified | +20 −6 |
| src/include/catalog/pg_publication.h | modified | +6 −1 |
| src/include/nodes/nodes.h | modified | +1 −0 |
| src/include/nodes/parsenodes.h | modified | +5 −0 |
| src/tools/pgindent/typedefs.list | modified | +1 −0 |
Discussion
- Column Filtering in Logical Replication 257 messages · 2021-06-30 → 2022-09-07