Re: Logical Replication WIP

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Logical Replication WIP
Дата
Msg-id 5b14e91e-155a-685c-6e5e-75cc6507309d@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Logical Replication WIP  (Andres Freund <andres@anarazel.de>)
Ответы Re: Logical Replication WIP
Список pgsql-hackers
On 11/12/16 2:18 PM, Andres Freund wrote:
>>>  I also wonder if we want an easier to
>>> > > extend form of pubinsert/update/delete (say to add pubddl, pubtruncate,
>>> > > pub ... without changing the schema).
>>> > > 
>> > 
>> > So like, text array that's then parsed everywhere (I am not doing
>> > bitmask/int definitely)?
> Yes, that sounds good to me. Then convert it to individual booleans or a
> bitmask when loading the publications into the in-memory form (which you
> already do).

I'm not sure why that would be better.  Adding catalog columns in future
versions is not a problem.  We're not planning on adding hundreds of
publication attributes.  Denormalizing catalog columns creates all kinds
of inconveniences, in the backend code, in frontend code, for users.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Do we need use more meaningful variables to replace 0 in catalog head files?
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: WAL consistency check facility