Replication connection URI?

From: Alex Shulgin <ash(at)commandprompt(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Replication connection URI?
Date: 2014-11-24 12:41:59
Message-ID: 87a93gsrc8.fsf@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


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?

--
Alex

PS: I wrote the original URI parser used in libpq.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-11-24 12:48:07 Re: Replication connection URI?
Previous Message Alexander Korotkov 2014-11-24 12:31:31 Re: WIP: Access method extendability