mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
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
This commit is contained in:
parent
07eef53955
commit
cc15059634
940
src/backend/utils/cache/syscache.c
vendored
940
src/backend/utils/cache/syscache.c
vendored
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user