]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Convert varatt.h access macros to static inline functions.
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 5 Aug 2025 15:01:25 +0000 (17:01 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 5 Aug 2025 15:01:25 +0000 (17:01 +0200)
commite035863c9a04beeecc254c3bfe48dab58e389e10
tree8fbeb462f05069bc146dd3400a085f42ab9a0f83
parent0f5ade7a367c16d823c75a81abb10e2ec98b4206
Convert varatt.h access macros to static inline functions.

We've only bothered converting the external interfaces, not the
endian-dependent internal macros (which should not be used by any
callers other than the interface functions in this header, anyway).

The VARTAG_1B_E() changes are required for C++ compatibility.

Author: Peter Eisentraut <peter@eisentraut.org>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/928ea48f-77c6-417b-897c-621ef16685a6@eisentraut.org
doc/src/sgml/xfunc.sgml
src/include/varatt.h