pgsql: Allow using connection URI in primary_conninfo. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Allow using connection URI in primary_conninfo.
Date
Msg-id E1XtIwn-0005XB-A5@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Allow using connection URI in primary_conninfo.

The old method of appending options to the connection string didn't work if
the primary_conninfo was a postgres:// style URI, instead of a traditional
connection string. Use PQconnectdbParams instead.

Alex Shulgin

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b3fc6727ce54a16ae9227bcccfebfa028ac5b16f

Modified Files
--------------
.../libpqwalreceiver/libpqwalreceiver.c            |   28 +++++++++++++-------
1 file changed, 19 insertions(+), 9 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Allow "dbname" from connection string to be overridden in PQconn
Next
From: Stephen Frost
Date:
Subject: pgsql: Add int64 -> int8 mapping to genbki