Re: logical changeset generation v4

Поиск
Список
Период
Сортировка
От Steve Singer
Тема Re: logical changeset generation v4
Дата
Msg-id BLU0-SMTP77EB1C0696EBE59BCF2E9BDC190@phx.gbl
обсуждение исходный текст
Ответ на Re: logical changeset generation v4  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: logical changeset generation v4  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 13-01-22 11:30 AM, Andres Freund wrote:
> Hi,
>
> I pushed a new rebased version (the xlogreader commit made it annoying
> to merge).
>
> The main improvements are
> * way much coherent code internally for intializing logical rep
> * explicit control over slots
> * options for logical replication


Exactly what is the syntax for using that.  My reading your changes to
repl_gram.y make me think that any of the following should work (but
they don't).

START_LOGICAL_REPLICATION 'slon1' 0/0 ('opt1')
  ERROR:  syntax error: unexpected character "("

"START_LOGICAL_REPLICATION 'slon1' 0/0 ('opt1' 'val1')
  ERROR:  syntax error: unexpected character "("

START_LOGICAL_REPLICATION 'slon1' 0/0 ('opt1','opt2')
ERROR:  syntax error: unexpected character "("

I'm also attaching a patch to pg_receivellog that allows you to specify
these options on the command line.  I'm not saying I think that it is
appropriate to be adding more bells and whistles to the utilities  two
weeks into the CF but I found this useful for testing so I'm sharing it.


>
>
> Greetings,
>
> Andres Freund
>
> --
>   Andres Freund                       http://www.2ndQuadrant.com/
>   PostgreSQL Development, 24x7 Support, Training & Services
>
>



Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Event Triggers: adding information
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] pg_isready (was: [WIP] pg_ping utility)