Map pg_attribute_counted_by() to _Field_size_() under MSVC

MSVC has no counted_by attribute, but its source annotation
language (SAL) has _Field_size_(), which states the same property: the
field is a buffer whose writable size in elements is given by the
named expression.

MSVC's static analyzer (/analyze) will make use of the information.

Author: Tristan Partin <[email protected]>
Discussion: 
https://www.postgresql.org/message-id/flat/DKBEBF32QLUA.3L2DJRPUYNKHZ%40partin.io

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9dcaea6edc8c3f8a658ff788c94b6a896ae254af

Modified Files
--------------
src/include/c.h | 10 ++++++++++
1 file changed, 10 insertions(+)

Reply via email to