pgsql: Convert varatt.h access macros to static inline functions. - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Convert varatt.h access macros to static inline functions.
Date
Msg-id E1ujJEX-000tM0-0C@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e035863c9a04beeecc254c3bfe48dab58e389e10

Modified Files
--------------
doc/src/sgml/xfunc.sgml |   2 +-
src/include/varatt.h    | 336 +++++++++++++++++++++++++++++++++++++-----------
2 files changed, 261 insertions(+), 77 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Fix varatt versus Datum type confusions
Next
From: Tom Lane
Date:
Subject: pgsql: Mop-up for commit e035863c9.