pgsql: Get rid of client-code dependencies on the exact text of the - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Get rid of client-code dependencies on the exact text of the
Date
Msg-id 20070708190738.B9B829FB399@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Get rid of client-code dependencies on the exact text of the no-password
error message, by using PQconnectionUsedPassword() instead.  Someday
we might be able to localize that error message, but not until this
coding technique has disappeared everywhere.

Modified Files:
--------------
    pgsql/src/bin/pg_ctl:
        pg_ctl.c (r1.81 -> r1.82)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_ctl/pg_ctl.c.diff?r1=1.81&r2=1.82)
    pgsql/src/bin/pg_dump:
        pg_backup_db.c (r1.75 -> r1.76)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_db.c.diff?r1=1.75&r2=1.76)
        pg_dumpall.c (r1.91 -> r1.92)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dumpall.c.diff?r1=1.91&r2=1.92)
    pgsql/src/bin/psql:
        command.c (r1.179 -> r1.180)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/command.c.diff?r1=1.179&r2=1.180)
        startup.c (r1.140 -> r1.141)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/startup.c.diff?r1=1.140&r2=1.141)
    pgsql/src/bin/scripts:
        common.c (r1.26 -> r1.27)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/scripts/common.c.diff?r1=1.26&r2=1.27)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Closer code review for PQconnectionUsedPassword() patch: in
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Remove the pgstat_drop_relation() call from