git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 33a33f0) | patch
Change argument of appendBinaryStringInfo from char * to void *
2022年12月30日 09:59:25 +0000 (10:59 +0100)
2022年12月30日 10:05:09 +0000 (11:05 +0100)
commit 1f605b82ba66ece8b421b10d41094dd2e3c0c48b
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
src/backend/utils/adt/jsonpath.c diff | blob | blame | history
src/backend/utils/adt/xid8funcs.c diff | blob | blame | history
src/common/stringinfo.c diff | blob | blame | history
src/include/lib/stringinfo.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /