pgsql: Add support for multiple error messages from libpq, by simply - Mailing list pgsql-committers

From mha@postgresql.org (Magnus Hagander)
Subject pgsql: Add support for multiple error messages from libpq, by simply
Date
Msg-id 20081027094231.DA1FB7545A4@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Add support for multiple error messages from libpq, by simply appending them
after each other (since we already add a newline on each, this makes them
multiline).

Previously a new error would just overwrite the old one, so for example any
error caused when trying to connect with SSL enabled would be overwritten
by the error message form the non-SSL connection when using sslmode=prefer.

Modified Files:
--------------
    pgsql/doc/src/sgml:
        libpq.sgml (r1.265 -> r1.266)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/libpq.sgml?r1=1.265&r2=1.266)
    pgsql/src/interfaces/libpq:
        fe-connect.c (r1.363 -> r1.364)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-connect.c?r1=1.363&r2=1.364)
        fe-misc.c (r1.135 -> r1.136)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-misc.c?r1=1.135&r2=1.136)
        fe-protocol3.c (r1.35 -> r1.36)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-protocol3.c?r1=1.35&r2=1.36)
        libpq-int.h (r1.134 -> r1.135)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/libpq-int.h?r1=1.134&r2=1.135)

pgsql-committers by date:

Previous
From: petere@postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql: SQL:2008 syntax CURRENT_CATALOG, CURRENT_SCHEMA, SET CATALOG, SET
Next
From: fxjr@pgfoundry.org (User Fxjr)
Date:
Subject: npgsql - Npgsql2: Changed tabs to spaces 4