Re: Column Filtering in Logical Replication
От | Alvaro Herrera |
---|---|
Тема | Re: Column Filtering in Logical Replication |
Дата | |
Msg-id | 202109161436.3z5fhpsalhs3@alvherre.pgsql обсуждение исходный текст |
Ответ на | Re: Column Filtering in Logical Replication (Alvaro Herrera <alvherre@alvh.no-ip.org>) |
Ответы |
RE: Column Filtering in Logical Replication
|
Список | pgsql-hackers |
On 2021-Sep-16, Alvaro Herrera wrote: Actually, something like this might be better: > PublicationObjSpec: > | TABLE qualified_name > { > $$ = makeNode(PublicationObjSpec); > $$->pubobjtype = PUBLICATIONOBJ_TABLE; > $$->pubrvobj = $2; > $$->location = @1; > } > | ALL TABLES IN_P SCHEMA name > { > $$ = makeNode(PublicationObjSpec); > $$->pubobjtype = PUBLICATIONOBJ_ALL_TABLES_IN_SCHEMA; > $$->pubplainobj = $5; > $$->location = @1; > } So you don't have to cram the schema name in a RangeVar, which would indeed be quite awkward. (I'm sure you can come up with better names for the struct members there ...) -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "Porque francamente, si para saber manejarse a uno mismo hubiera que rendir examen... ¿Quién es el machito que tendría carnet?" (Mafalda)
В списке pgsql-hackers по дате отправления: