postgresql/src/backend
David Rowley ee3a551e96 Fix incorrect logic in plan dependency recording
Both 50e17ad28 and 29f45e299 mistakenly tried to record a plan dependency
on a function but mistakenly inverted the OidIsValid test.  This meant
that we'd record a dependency only when the function's Oid was
InvalidOid.  Clearly this was meant to *not* record the dependency in
that case.

50e17ad28 made this mistake first, then in v15 29f45e299 copied the same
mistake.

Reported-by: Tom Lane
Backpatch-through: 14, where 50e17ad28 first made this mistake
Discussion: https://postgr.es/m/2277537.1694301772@sss.pgh.pa.us
2023-09-14 11:27:29 +12:00
..
access Remove some more "snapshot too old" vestiges. 2023-09-08 17:12:12 +12:00
archive Redesign archive modules 2023-02-17 14:26:42 +09:00
backup Move PG_TEMP_FILE* macros to file_utils.h. 2023-09-05 17:02:06 -07:00
bootstrap Make error messages about WAL segment size more consistent 2023-08-28 15:17:04 +02:00
catalog Update information_schema definition for not-null constraints 2023-09-07 11:33:01 +02:00
commands Fix the ALTER SUBSCRIPTION to reflect the change in run_as_owner option. 2023-09-13 09:34:30 +05:30
executor Fix RLS policy usage in MERGE. 2023-08-07 09:28:47 +01:00
foreign Expand some more uses of "deleg" to "delegation" or "delegated". 2023-05-21 10:55:18 -04:00
jit Add JIT deform_counter 2023-09-08 15:05:12 +02:00
lib
libpq Use more consistent names for wait event objects and types 2023-09-06 10:04:43 +09:00
main Remove obsolete defense against strxfrm() bugs. 2023-04-20 13:20:14 +12:00
nodes Catalog not-null constraints 2023-08-25 13:31:24 +02:00
optimizer Fix incorrect logic in plan dependency recording 2023-09-14 11:27:29 +12:00
parser Make more use of makeColumnDef() 2023-08-29 08:45:05 +02:00
partitioning Add missing ObjectIdGetDatum() in syscache lookup calls for Oids 2023-07-20 15:18:25 +09:00
po Translation updates 2023-08-07 12:39:30 +02:00
port Add GUC parameter "huge_pages_status" 2023-07-06 14:42:36 +09:00
postmaster Move PG_TEMP_FILE* macros to file_utils.h. 2023-09-05 17:02:06 -07:00
regex All supported systems have locale_t. 2023-07-09 11:55:18 +12:00
replication Use more consistent names for wait event objects and types 2023-09-06 10:04:43 +09:00
rewrite Fix RLS policy usage in MERGE. 2023-08-07 09:28:47 +01:00
snowball Fix the install rule for snowball_create.sql. 2023-05-23 11:15:57 -04:00
statistics Take pg_attribute out of VacAttrStats 2023-07-03 07:18:57 +02:00
storage Teach WaitEventSetWait() to report multiple events on Windows. 2023-09-08 18:49:08 +12:00
tcop Fix recovery conflict SIGUSR1 handling. 2023-09-07 12:39:24 +12:00
tsearch Take pg_attribute out of VacAttrStats 2023-07-03 07:18:57 +02:00
utils Fix exception safety bug in typcache.c. 2023-09-13 14:58:22 +12:00
.gitignore
common.mk
Makefile Add system view pg_wait_events 2023-08-20 15:35:02 +09:00
meson.build Add win32ver data to meson-built postgres.exe. 2023-06-12 07:40:38 -07:00
nls.mk Add missing gettext triggers 2023-05-10 13:51:51 +02:00