postgresql/src/backend
Tom Lane 697dd1925f Remove bogus assertion in transformExpressionList().
I think when I added this assertion (in commit 8f889b108), I was only
thinking of the use of transformExpressionList at top level of INSERT
and VALUES.  But it's also called by transformRowExpr(), which can
certainly occur in an UPDATE targetlist, so it's inappropriate to
suppose that p_multiassign_exprs must be empty.  Besides, since the
input is not expected to contain ResTargets, there's no reason it
should contain MultiAssignRefs either.  Hence this code need not
be concerned about the state of p_multiassign_exprs, and we should
just drop the assertion.

Per bug #17236 from ocean_li_996.  It's been wrong for years,
so back-patch to all supported branches.

Discussion: https://postgr.es/m/17236-3210de9bcba1d7ca@postgresql.org
2021-10-19 11:35:15 -04:00
..
access Reset properly snapshot export state during transaction abort 2021-10-18 11:55:42 +09:00
bootstrap Fix bogus assertion in BootstrapModeMain(). 2021-08-09 08:28:53 -07:00
catalog Fix duplicate words in comments 2021-10-04 15:12:57 +02:00
commands Block ALTER INDEX/TABLE index_name ALTER COLUMN colname SET (options) 2021-10-19 11:03:52 +09:00
executor Refactor LogicalTapeSet/LogicalTape interface. 2021-10-18 14:46:01 +03:00
foreign Update copyright for 2021 2021-01-02 13:06:25 -05:00
jit Track LLVM 14 API changes. 2021-09-27 10:53:20 +13:00
lib Fix typo in comment 2021-04-20 14:35:16 +02:00
libpq shm_mq: Update mq_bytes_written less often. 2021-10-14 16:13:36 -04:00
main process startup: Split single user code out of PostgresMain(). 2021-09-17 19:56:47 -07:00
nodes Improve order in file 2021-10-07 08:20:55 +02:00
optimizer Fix planner error with pulling up subquery expressions into function RTEs. 2021-10-14 12:43:55 -04:00
parser Remove bogus assertion in transformExpressionList(). 2021-10-19 11:35:15 -04:00
partitioning Fix duplicate words in comments 2021-10-04 15:12:57 +02:00
po Translation updates 2021-06-21 12:33:50 +02:00
port Treat ETIMEDOUT as indicating a non-recoverable connection failure. 2021-09-30 14:16:08 -04:00
postmaster Make autovacuum launcher more responsive to pg_log_backend_memory_contexts(). 2021-10-12 09:50:17 +09:00
regex Make pg_regexec() robust against out-of-range search_start. 2021-09-11 15:19:31 -04:00
replication Reset properly snapshot export state during transaction abort 2021-10-18 11:55:42 +09:00
rewrite Fix rewriter to set hasModifyingCTE correctly on rewritten queries. 2021-09-08 12:05:47 -04:00
snowball Update snowball 2021-02-19 08:10:15 +01:00
statistics Clean up more code using "(expr) ? true : false" 2021-10-11 09:36:42 +09:00
storage shm_mq: Update mq_bytes_written less often. 2021-10-14 16:13:36 -04:00
tcop Fix Portal snapshot tracking to handle subtransactions properly. 2021-10-01 11:10:12 -04:00
tsearch Clean up more code using "(expr) ? true : false" 2021-10-11 09:36:42 +09:00
utils Fix parallel sort, broken by the balanced merge patch. 2021-10-18 20:42:10 +03:00
.gitignore
Makefile Use sort_template.h for qsort_tuple() and qsort_ssup(). 2021-03-03 17:02:32 +13:00
common.mk
nls.mk Translation updates 2021-05-10 14:36:21 +02:00