From: | mha(at)postgresql(dot)org (Magnus Hagander) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Add support for multiple error messages from libpq, by simply |
Date: | 2008-10-27 09:42:31 |
Message-ID: | 20081027094231.DA1FB7545A4@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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)
From | Date | Subject | |
---|---|---|---|
Next Message | User Fxjr | 2008-10-27 14:22:08 | npgsql - Npgsql2: Changed tabs to spaces 4 |
Previous Message | Peter Eisentraut | 2008-10-27 09:37:47 | pgsql: SQL:2008 syntax CURRENT_CATALOG, CURRENT_SCHEMA, SET CATALOG, SET |