SnapBuildRestoreContents() void * argument for binary data

Peter Eisentraut <peter@eisentraut.org>

Commit: ebdccead1647aec1122810dad498438d9964f35f
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2025-02-23T11:38:21Z
Releases: 18.0
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@ilmari.org>
Discussion: https://www.postgresql.org/message-id/flat/fd1fcedb-3492-4fc8-9e3e-74b97f2db6c7%40eisentraut.org

Files

PathChange+/−
src/backend/replication/logical/snapbuild.c modified +6 −6

Discussion