Re: Conflict Detection and Resolution
От | Amit Kapila |
---|---|
Тема | Re: Conflict Detection and Resolution |
Дата | |
Msg-id | CAA4eK1LhD=C5UwDeKxC_5jK4_ADtM7g+MoFW9qhziSxHbVVfeQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Conflict Detection and Resolution (Masahiko Sawada <sawada.mshk@gmail.com>) |
Ответы |
Re: Conflict Detection and Resolution
|
Список | pgsql-hackers |
On Mon, Jul 1, 2024 at 1:35 PM Masahiko Sawada <sawada.mshk@gmail.com> wrote: > > Setting resolvers at table-level and subscription-level sounds good to > me. DDLs for setting resolvers at subscription-level would need the > subscription name to be specified? > Yes, it should be part of the ALTER/CREATE SUBSCRIPTION command. One idea could be to have syntax as follows: ALTER SUBSCRIPTION name SET CONFLICT RESOLVER 'conflict_resolver' FOR 'conflict_type'; ALTER SUBSCRIPTION name RESET CONFLICT RESOLVER FOR 'conflict_type'; CREATE SUBSCRIPTION subscription_name CONNECTION 'conninfo' PUBLICATION publication_name [, ...] CONFLICT RESOLVER 'conflict_resolver' FOR 'conflict_type'; > And another question is: a > table-level resolver setting is precedent over all subscriber-level > resolver settings in the database? > Yes. -- With Regards, Amit Kapila.
В списке pgsql-hackers по дате отправления: