postgresql/src/backend
Tom Lane b6bd5def3a Add some error cross-checks to gen_node_support.pl.
Check that if we generate a call to copy, compare, write, or read
a specific node type, that node type does have the appropriate
support function.  (This doesn't protect against trying to invoke
nonexistent code when considering generic field types such as
"Node *", but it seems like a useful check anyway.)

Check that array_size() refers to a field appearing earlier in
the struct.  Aside from catching obvious errors like a misspelled
field name, this protects against a more subtle mistake: if the
size field appears later in the struct than the array field, then
compare and read functions would misbehave.  There is actually
exactly that situation in PlannerInfo, but it's okay since we
do not need compare or read functionality for that (today anyway).

Discussion: https://postgr.es/m/263413.1669513145@sss.pgh.pa.us
2022-12-02 15:09:51 -05:00
..
access Generalize ri_RootToPartitionMap to use for non-partition children 2022-12-02 10:35:55 +01:00
backup Rename shadowed local variables 2022-10-05 21:01:41 +13:00
bootstrap Remove AssertArg and AssertState 2022-10-28 09:19:06 +02:00
catalog Add 'missing_ok' argument to build_attrmap_by_name 2022-11-29 09:39:36 +01:00
commands Generalize ri_RootToPartitionMap to use for non-partition children 2022-12-02 10:35:55 +01:00
executor Generalize ri_RootToPartitionMap to use for non-partition children 2022-12-02 10:35:55 +01:00
foreign Rename SetSingleFuncCall() to InitMaterializedSRF() 2022-10-18 10:22:35 +09:00
jit Replace SQLValueFunction by COERCE_SQL_SYNTAX 2022-11-21 18:31:59 +09:00
lib Add doubly linked count list implementation 2022-11-02 14:06:05 +13:00
libpq Fix typo in hba.c 2022-11-26 10:14:18 +09:00
main Add workaround to make ubsan and ps_status.c compatible 2022-11-21 13:56:23 -08:00
nodes Add some error cross-checks to gen_node_support.pl. 2022-12-02 15:09:51 -05:00
optimizer Move PartitioPruneInfo out of plan nodes into PlannedStmt 2022-12-01 12:56:21 +01:00
parser Add 'missing_ok' argument to build_attrmap_by_name 2022-11-29 09:39:36 +01:00
partitioning Move PartitioPruneInfo out of plan nodes into PlannedStmt 2022-12-01 12:56:21 +01:00
po meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
port Provide sigaction() for Windows. 2022-11-09 13:06:31 +13:00
postmaster Add the database name to the ps display of logical WAL senders 2022-11-24 16:07:59 +09:00
regex Remove uses of register due to incompatibility with C++17 and up 2022-09-24 12:08:37 -07:00
replication Generalize ri_RootToPartitionMap to use for non-partition children 2022-12-02 10:35:55 +01:00
rewrite Remove logic for converting a table to a view. 2022-12-02 12:14:32 -05:00
snowball meson: Add support for building with precompiled headers 2022-10-06 17:19:30 -07:00
statistics Stop accessing checkAsUser via RTE in some cases 2022-11-30 12:07:03 +01:00
storage Make materialized views participate in predicate locking 2022-12-01 15:41:13 +09:00
tcop Refactor aclcheck functions 2022-11-13 09:02:41 +01:00
tsearch Add comments and a missing CHECK_FOR_INTERRUPTS in ts_headline. 2022-11-21 17:07:29 -05:00
utils Fix psql's \sf and \ef for new-style SQL functions. 2022-12-02 14:24:44 -05:00
.gitignore
Makefile autoconf: Don't AC_SUBST() LD in configure 2022-12-01 19:03:26 -08:00
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
meson.build meson: Add support for building with precompiled headers 2022-10-06 17:19:30 -07:00
nls.mk NLS: Put list of available languages into LINGUAS files 2022-07-13 08:19:17 +02:00