Обсуждение: pgsql: Add support for multiple error messages from libpq, by simply
pgsql: Add support for multiple error messages from libpq, by simply
От
mha@postgresql.org (Magnus Hagander)
Дата:
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)