Re: Replication connection URI? - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Replication connection URI?
Date
Msg-id 54732907.40301@vmware.com
Whole thread Raw
In response to Replication connection URI?  (Alex Shulgin <ash@commandprompt.com>)
Responses Re: Replication connection URI?  (Alex Shulgin <ash@commandprompt.com>)
List pgsql-hackers
On 11/24/2014 02:41 PM, Alex Shulgin wrote:
>
> Hackers,
>
> It appears that replication connection doesn't support URI but only the
> traditional conninfo string.
>
> src/backend/replication/libpqwalreceiver/libpqwalreceiver.c:99: in libpqrcv_connect():
>
>      snprintf(conninfo_repl, sizeof(conninfo_repl),
>               "%s dbname=replication replication=true fallback_application_name=walreceiver",
>               conninfo);
>
> A patch to fix this welcome?

Yeah, seems like an oversight. Hopefully you can fix that without 
teaching libpqwalreceiver what connection URIs look like..

- Heikki




pgsql-hackers by date:

Previous
From: Alex Shulgin
Date:
Subject: Replication connection URI?
Next
From: Alvaro Herrera
Date:
Subject: no test programs in contrib