Re: Replication connection URI?

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Alex Shulgin <ash(at)commandprompt(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Replication connection URI?
Date: 2014-11-24 12:48:07
Message-ID: 54732907.40301@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2014-11-24 13:49:45 no test programs in contrib
Previous Message Alex Shulgin 2014-11-24 12:41:59 Replication connection URI?