Change argument of appendBinaryStringInfo from char * to void *

Peter Eisentraut <peter@eisentraut.org>

Commit: 1f605b82ba66ece8b421b10d41094dd2e3c0c48b
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2022-12-30T10:05:09Z
Releases: 16.0
Change argument of appendBinaryStringInfo from char * to void *

There is some code that uses this function to assemble some kind of
packed binary layout, which requires a bunch of casts because of this.
Functions taking binary data plus length should take void * instead,
like memcpy() for example.

Discussion: https://www.postgresql.org/message-id/flat/a0086cfc-ff0f-2827-20fe-52b591d2666c%40enterprisedb.com

Files

Discussion