diff options
author | Thomas Munro <tmunro@postgresql.org> | 2022-12-23 10:40:18 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2022-12-23 10:40:18 +1300 |
commit | cc150596341e2a7913519769a88a1537c2e94720 (patch) | |
tree | efff4206f58d731307b5c71156a597bea5eba067 /src/backend/utils/adt/windowfuncs.c | |
parent | 07eef53955ea9885dd3e4701b7eaa34ccdf2ae02 (diff) | |
download | postgresql-cc150596341e2a7913519769a88a1537c2e94720.tar.gz postgresql-cc150596341e2a7913519769a88a1537c2e94720.zip |
Improve notation of cacheinfo table in syscache.c.
Use C99 designated initializer syntax for the array elements, instead of
writing the enumerator name and position in a comment. Replace nkeys
and key with a local variadic macro, for a shorter notation.
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Discussion: https://postgr.es/m/CA%2BhUKGKdpDjKL2jgC-GpoL4DGZU1YPqnOFHbDqFkfRQcPaR5DQ%40mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/windowfuncs.c')
0 files changed, 0 insertions, 0 deletions