| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: backend libpq void * argument for binary data |
| Date: | 2025-02-23 13:31:37 |
| Message-ID: | E1tmC53-000IoA-1u@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
backend libpq void * argument for binary data
Change some backend libpq functions to take void * for binary data
instead of char *. This removes the need for numerous casts.
Reviewed-by: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>
Discussion: https://www.postgresql.org/message-id/flat/fd1fcedb-3492-4fc8-9e3e-74b97f2db6c7%40eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/454c182f8542890d0e2eac85f70d9a254a34fce3
Modified Files
--------------
src/backend/libpq/pqcomm.c | 13 ++++++++-----
src/backend/libpq/pqformat.c | 10 +++++-----
src/backend/tcop/backend_startup.c | 2 +-
src/backend/utils/adt/varbit.c | 4 ++--
src/include/libpq/libpq.h | 2 +-
src/include/libpq/pqformat.h | 2 +-
6 files changed, 18 insertions(+), 15 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2025-02-23 19:16:33 | pgsql: Ignore hash's relallvisible when checking pg_upgrade from pre-v1 |
| Previous Message | Andrew Dunstan | 2025-02-23 13:24:08 | Re: pgsql: Trial fix for old cross-version upgrades. |