postgresql/src/interfaces/libpq
Michael Paquier db9405493b libpq: Fix PQtrace() format for non-printable characters
PQtrace() was generating its output for non-printable characters without
casting the characters printed with unsigned char, leading to some extra
"\xffffff" generated in the output due to the fact that char may be
signed.

Oversights introduced by commit 198b3716db, so backpatch down to v14.

Author: Ran Benita <ran@unusedvar.com>
Discussion: https://postgr.es/m/a3383211-4539-459b-9d51-95c736ef08e0@app.fastmail.com
Backpatch-through: 14
2025-09-03 12:54:23 +09:00
..
po Translation updates 2025-05-05 12:04:49 +02:00
t libpq: Add "servicefile" connection option 2025-07-13 16:52:19 +09:00
test meson: Add missing dependencies for libpq tests 2025-02-04 17:56:19 -05:00
.gitignore Run tap tests in src/interfaces/libpq. 2022-02-26 16:51:47 -08:00
exports.txt libpq: Remove PQservice() 2025-07-09 12:46:13 +09:00
fe-auth-oauth.c oauth: Limit JSON parsing depth in the client 2025-05-23 13:05:33 -07:00
fe-auth-oauth.h oauth: Move the builtin flow into a separate module 2025-05-01 09:14:30 -07:00
fe-auth-sasl.h libpq: Handle asynchronous actions during SASL 2025-02-06 22:19:21 +01:00
fe-auth-scram.c Use 'void *' for arbitrary buffers, 'uint8 *' for byte arrays 2025-05-08 22:01:25 +03:00
fe-auth.c Use 'void *' for arbitrary buffers, 'uint8 *' for byte arrays 2025-05-08 22:01:25 +03:00
fe-auth.h Add support for OAUTHBEARER SASL mechanism 2025-02-20 16:25:17 +01:00
fe-cancel.c libpq: Complain about missing BackendKeyData later with PGgetCancel() 2025-08-01 18:24:19 +03:00
fe-connect.c libpq: Set LDAP protocol version 3 2025-08-12 20:56:49 +02:00
fe-exec.c libpq: Handle OOM by disconnecting instead of hanging or skipping msgs 2025-08-22 14:39:25 +03:00
fe-gssapi-common.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
fe-gssapi-common.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
fe-lobj.c libpq: Deprecate pg_int64. 2025-03-25 21:40:00 +13:00
fe-misc.c Don't reduce output request size on non-Unix-socket connections. 2025-06-10 18:39:34 -04:00
fe-print.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
fe-protocol3.c Use PqMsg_* macros in fe-protocol3.c. 2025-08-25 11:08:26 -05:00
fe-secure-common.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
fe-secure-common.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
fe-secure-gssapi.c Don't reduce output request size on non-Unix-socket connections. 2025-06-10 18:39:34 -04:00
fe-secure-openssl.c Fix sslkeylogfile error handling logging 2025-07-10 23:26:51 +02:00
fe-secure.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
fe-trace.c libpq: Fix PQtrace() format for non-printable characters 2025-09-03 12:54:23 +09:00
legacy-pqsignal.c Avoid symbol collisions between pqsignal.c and legacy-pqsignal.c. 2025-01-14 18:50:24 -05:00
libpq-events.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
libpq-events.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
libpq-fe.h libpq: Remove PQservice() 2025-07-09 12:46:13 +09:00
libpq-int.h libpq: Handle OOM by disconnecting instead of hanging or skipping msgs 2025-08-22 14:39:25 +03:00
Makefile Don't put library-supplied -L/-I switches before user-supplied ones. 2025-07-29 15:17:40 -04:00
meson.build oauth: Move the builtin flow into a separate module 2025-05-01 09:14:30 -07:00
nls.mk oauth: Move the builtin flow into a separate module 2025-05-01 09:14:30 -07: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 2025 2025-01-01 11:21:55 -05:00
pqexpbuffer.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
pthread-win32.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
README Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
win32.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
win32.h Recognize network-failure errnos as indicating hard connection loss. 2020-10-10 13:28:12 -04:00

src/interfaces/libpq/README

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