| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Write pg_attribute_counted_by() in front of the type |
| Date: | 2026-10-02 11:16:06 |
| Message-ID: | E1xCbFG-000000000bl-22LO@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Write pg_attribute_counted_by() in front of the type
This is technically the more correct position according to C23,
although in practice compilers are relaxed about this. It also opens
us up to supporting MSVC's _Field_size_() in the future, which is a
similar construct.
This requires adding pg_attribute_counted_by to the list of
declaration attributes in pgindent, so that pgindent doesn't mess it
up.
Author: Tristan Partin <tristan(at)partin(dot)io>
Discussion: https://www.postgresql.org/message-id/flat/DKBEBF32QLUA.3L2DJRPUYNKHZ%40partin.io
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6f3bdadaadc4692050ca20dff53d3890088b9272
Modified Files
--------------
src/backend/utils/adt/jsonfuncs.c | 2 +-
src/tools/pgindent/pgindent | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Langote | 2026-10-03 02:46:15 | pgsql: Remove batching from RI fast-path checks |
| Previous Message | Amit Kapila | 2026-10-02 10:29:20 | pgsql: Use the relation map's index when searching deleted tuples seque |