Skip site navigation (1) Skip section navigation (2)

pgsql: Modify recently added PQconnectdbParams() with new argument,

From: joe(at)postgresql(dot)org (Joe Conway)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Modify recently added PQconnectdbParams() with new argument,
Date: 2010-02-05 03:09:05
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
Log Message:
Modify recently added PQconnectdbParams() with new argument, expand_dbname.
If expand_dbname is non-zero and dbname contains an = sign, it is taken as
a conninfo string in exactly the same way as if it had been passed to
PQconnectdb. This is equivalent to the way PQsetdbLogin() works, allowing
PQconnectdbParams() to be a complete alternative.

Also improve the way the new function is called from psql and replace a
previously missed call to PQsetdbLogin() in psql. Additionally use
PQconnectdbParams() for pg_dump and friends, and the bin/scripts
command line utilities such as vacuumdb, createdb, etc.

Finally, update the documentation for the new parameter, as well as the
nuances of precedence in cases where key words are repeated or duplicated
in the conninfo string.

Modified Files:
        libpq.sgml (r1.296 -> r1.297)
        pg_backup_db.c (r1.85 -> r1.86)
        pg_dumpall.c (r1.131 -> r1.132)
        command.c (r1.213 -> r1.214)
        startup.c (r1.159 -> r1.160)
        common.c (r1.38 -> r1.39)
        fe-connect.c (r1.385 -> r1.386)
        libpq-fe.h (r1.150 -> r1.151)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2010-02-05 03:20:56
Subject: pgsql: Rewrite rint() to enable removal of copyright mention; patch
Previous:From: Bruce MomjianDate: 2010-02-05 03:06:31
Subject: pgsql: Rewrite intagg/Makefile from scratch, to avoid copyright mention.

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group