From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Convert varatt.h access macros to static inline functions. |
Date: | 2025-08-05 15:05:45 |
Message-ID: | E1ujJEX-000tM0-0C@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)eisentraut(dot)org>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2025-08-05 16:11:43 | pgsql: Mop-up for commit e035863c9. |
Previous Message | Peter Eisentraut | 2025-08-05 10:15:58 | pgsql: Fix varatt versus Datum type confusions |