Re: logical changeset generation v4

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: logical changeset generation v4
Дата
Msg-id 20130129015732.GA24238@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: logical changeset generation v4  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 2013-01-28 12:23:02 +0100, Andres Freund wrote:
> On 2013-01-27 12:28:21 -0500, Steve Singer wrote:
> > 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 "("
> 
> The syntax is right, the grammar (or rather scanner) support is a bit
> botched, will push a new version soon.

Pushed and rebased some minutes ago. I changed the syntax so that slot
names, plugins, and option names are identifiers and behave just as in
normal sql identifier. That means ' need to be changed to ".

The new version is rebased ontop of fklocks, walsender et al, which was
a bit of work but actually makes more comprehensive logging in
heap_update easier. That will come tomorrow.

Andres Freund

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



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Hm, table constraints aren't so unique as all that
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_ctl idempotent option