| From: | Steve Singer <steve(at)ssinger(dot)info> |
|---|---|
| To: | Andres Freund <andres(at)2ndquadrant(dot)com> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: logical changeset generation v4 |
| Date: | 2013-01-27 17:28:21 |
| Message-ID: | BLU0-SMTP77EB1C0696EBE59BCF2E9BDC190@phx.gbl |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
>
>
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-allow-pg_receivellog-to-pass-plugin-options-from-the.patch | text/x-patch | 2.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2013-01-27 17:46:35 | Re: [PATCH] pg_isready (was: [WIP] pg_ping utility) |
| Previous Message | Robert Haas | 2013-01-27 17:20:18 | Re: Event Triggers: adding information |