SnapBuildRestoreContents() void * argument for binary data
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 24 Sep 2024 10:18:31 +0000 (12:18 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Sun, 23 Feb 2025 11:38:21 +0000 (12:38 +0100)
commitebdccead1647aec1122810dad498438d9964f35f
tree653559d69ecea74b7cae6d2249a66a11eb29b51a
parenta4e986ef5a4698b43a3a9b11791b282734938ed1
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
src/backend/replication/logical/snapbuild.c