Convert varatt.h access macros to static inline functions.

Peter Eisentraut <peter@eisentraut.org>

Commit: e035863c9a04beeecc254c3bfe48dab58e389e10
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2025-08-05T15:01:25Z
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

Files

PathChange+/−
doc/src/sgml/xfunc.sgml modified +1 −1
src/include/varatt.h modified +260 −76

Discussion