postgresql/src/backend
Heikki Linnakangas 713bce9484 Don't call CheckAttributeType() with InvalidOid on dropped cols
If CheckAttributeType() is called with InvalidOid, it performs a bunch
of pointless, futile syscache lookups with InvalidOid, but ultimately
tolerates it and has no effect. We were calling it with InvalidOid on
dropped columns, but it seems accidental that it works, so let's stop
doing it.

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/93ce56cd-02a6-4db1-8224-c8999372facc@iki.fi
Backpatch-through: 14
2026-04-23 21:28:26 +03:00
..
access Harmonize function parameter names for Postgres 19. 2026-04-22 12:47:19 -04:00
archive Don't include wait_event.h in pgstat.h 2026-03-06 16:24:58 +01:00
backup Online enabling and disabling of data checksums 2026-04-03 22:58:51 +02:00
bootstrap Rework signal handler infrastructure to pass sender info as argument. 2026-04-15 07:30:34 -04:00
catalog Don't call CheckAttributeType() with InvalidOid on dropped cols 2026-04-23 21:28:26 +03:00
commands Fix new-to-v19 -Wshadow warnings 2026-04-23 16:49:29 +12:00
executor Fix a set of typos and grammar issues across the tree 2026-04-21 14:46:22 +09:00
foreign Remove bits* typedefs. 2026-03-30 16:12:08 -05:00
jit jit: No backport::SectionMemoryManager for LLVM 22. 2026-04-03 14:55:11 +13:00
lib Fix a set of typos and grammar issues across the tree 2026-04-21 14:46:22 +09:00
libpq Fix a set of typos and grammar issues across the tree 2026-04-21 14:46:22 +09:00
main Update copyright for 2026 2026-01-01 13:24:10 -05:00
nodes Remove gen_node_support.pl's ad-hoc ABI stability check. 2026-04-21 10:58:00 -04:00
optimizer Fix expansion of EXCLUDED virtual generated columns. 2026-04-22 09:03:44 +01:00
parser Harmonize function parameter names for Postgres 19. 2026-04-22 12:47:19 -04:00
partitioning Add missing Datum conversions 2026-04-20 07:22:16 +02:00
po Update copyright for 2026 2026-01-01 13:24:10 -05:00
port Rework signal handler infrastructure to pass sender info as argument. 2026-04-15 07:30:34 -04:00
postmaster Fix new-to-v19 -Wshadow warnings 2026-04-23 16:49:29 +12:00
regex Use fallthrough attribute instead of comment 2026-02-19 08:51:12 +01:00
replication Harmonize function parameter names for Postgres 19. 2026-04-22 12:47:19 -04:00
rewrite Harmonize function parameter names for Postgres 19. 2026-04-22 12:47:19 -04:00
snowball Fix meson build of snowball code. 2026-01-05 16:51:36 -05:00
statistics Fix a set of typos and grammar issues across the tree 2026-04-21 14:46:22 +09:00
storage Harmonize function parameter names for Postgres 19. 2026-04-22 12:47:19 -04:00
tcop Rework signal handler infrastructure to pass sender info as argument. 2026-04-15 07:30:34 -04:00
tsearch Prevent some buffer overruns in spell.c's parsing of affix files. 2026-04-22 12:02:15 -04:00
utils catcache.c: use C_COLLATION_OID for texteqfast/texthashfast. 2026-04-22 10:22:44 -07:00
.gitignore
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
Makefile ssl: Serverside SNI support for libpq 2026-03-18 12:37:11 +01:00
meson.build Add CONCURRENTLY option to REPACK 2026-04-06 21:55:08 +02:00
nls.mk Create a separate file listing backend types 2025-09-26 15:21:49 +02:00