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@partin.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(-)