mirror of
https://github.com/postgres/postgres.git
synced 2025-08-15 14:02:29 +03:00
Generate syscache info from catalog files
Add a new genbki macros MAKE_SYSCACHE that specifies the syscache ID macro, the underlying index, and the number of buckets. From that, we can generate the existing tables in syscache.h and syscache.c via genbki.pl. Reviewed-by: John Naylor <johncnaylorls@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/75ae5875-3abc-dafc-8aec-73247ed41cde@eisentraut.org
This commit is contained in:
@@ -119,6 +119,11 @@ do
|
||||
test "$f" = src/include/common/unicode_nonspacing_table.h && continue
|
||||
test "$f" = src/include/common/unicode_east_asian_fw_table.h && continue
|
||||
|
||||
test "$f" = src/backend/catalog/syscache_ids.h && continue
|
||||
test "$f" = src/backend/catalog/syscache_info.h && continue
|
||||
test "$f" = src/include/catalog/syscache_ids.h && continue
|
||||
test "$f" = src/include/catalog/syscache_info.h && continue
|
||||
|
||||
# We can't make these Bison output files compilable standalone
|
||||
# without using "%code require", which old Bison versions lack.
|
||||
# parser/gram.h will be included by parser/gramparse.h anyway.
|
||||
|
Reference in New Issue
Block a user