pgsql: SnapBuildRestoreContents() void * argument for binary data

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: SnapBuildRestoreContents() void * argument for binary data
Date: 2025-02-23 11:42:34
Message-ID: E1tmANW-000I8a-10@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

SnapBuildRestoreContents() void * argument for binary data

Change internal snapbuild API function 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/ebdccead1647aec1122810dad498438d9964f35f

Modified Files
--------------
src/backend/replication/logical/snapbuild.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2025-02-23 13:24:08 Re: pgsql: Trial fix for old cross-version upgrades.
Previous Message Michael Paquier 2025-02-23 07:44:53 pgsql: Add more tests for utility commands in pipelines