postgresql/src/interfaces/libpq
Heikki Linnakangas 85d94c5753 Avoid extra newline in errors received in FE protocol version 2.
Contrary to what the comment said, the postmaster does in fact end all
its messages in a newline, since server version 7.2. Be tidy and don't
add an extra newline if the error message already has one.

Discussion: https://www.postgresql.org/message-id/CAFBsxsEdgMXc%2BtGfEy9Y41i%3D5pMMjKeH8t8vSAypR3ZnAoQnHg%40mail.gmail.com
2021-03-04 10:56:33 +02:00
..
po Translation updates 2020-05-18 12:49:30 +02:00
test Update copyright for 2021 2021-01-02 13:06:25 -05:00
.gitignore Move wchar.c and encnames.c to src/common/. 2020-01-16 15:58:55 -05:00
Makefile Remove server and libpq support for old FE/BE protocol version 2. 2021-03-04 10:45:55 +02:00
README Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
exports.txt Fix bugs in OpenSSL hook renaming. 2020-05-16 19:44:49 -04:00
fe-auth-scram.c In libpq, always append new error messages to conn->errorMessage. 2021-01-11 13:12:09 -05:00
fe-auth.c Remove server and libpq support for old FE/BE protocol version 2. 2021-03-04 10:45:55 +02:00
fe-auth.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
fe-connect.c Avoid extra newline in errors received in FE protocol version 2. 2021-03-04 10:56:33 +02:00
fe-exec.c Remove server and libpq support for old FE/BE protocol version 2. 2021-03-04 10:45:55 +02:00
fe-gssapi-common.c In libpq, always append new error messages to conn->errorMessage. 2021-01-11 13:12:09 -05:00
fe-gssapi-common.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
fe-lobj.c Remove server and libpq support for old FE/BE protocol version 2. 2021-03-04 10:45:55 +02:00
fe-misc.c Remove server and libpq support for old FE/BE protocol version 2. 2021-03-04 10:45:55 +02:00
fe-print.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
fe-protocol3.c Remove server and libpq support for old FE/BE protocol version 2. 2021-03-04 10:45:55 +02:00
fe-secure-common.c In libpq, always append new error messages to conn->errorMessage. 2021-01-11 13:12:09 -05:00
fe-secure-common.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
fe-secure-gssapi.c In libpq, always append new error messages to conn->errorMessage. 2021-01-11 13:12:09 -05:00
fe-secure-openssl.c Allow specifying CRL directory 2021-02-18 07:59:10 +01:00
fe-secure.c Simplify code related to compilation of SSL and OpenSSL 2021-02-10 15:28:19 +09:00
legacy-pqsignal.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
libpq-events.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
libpq-events.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
libpq-fe.h Remove server and libpq support for old FE/BE protocol version 2. 2021-03-04 10:45:55 +02:00
libpq-int.h Remove server and libpq support for old FE/BE protocol version 2. 2021-03-04 10:45:55 +02:00
nls.mk Remove server and libpq support for old FE/BE protocol version 2. 2021-03-04 10:45:55 +02:00
pg_service.conf.sample Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
pqexpbuffer.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
pqexpbuffer.h Update copyright for 2021 2021-01-02 13:06:25 -05:00
pthread-win32.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
win32.c Update copyright for 2021 2021-01-02 13:06:25 -05:00
win32.h Recognize network-failure errnos as indicating hard connection loss. 2020-10-10 13:28:12 -04:00

README

src/interfaces/libpq/README

This directory contains the C version of Libpq, the POSTGRES frontend library.