postgresql/src/backend
Tom Lane 048caf8d75 Fix assignment to array of domain over composite, redux.
Commit 3e310d837 taught isAssignmentIndirectionExpr() to look through
CoerceToDomain nodes.  That's not sufficient, because since commit
04fe805a1 it's been possible for the planner to simplify
CoerceToDomain to RelabelType when the domain has no constraints
to enforce.  So we need to look through RelabelType too.

Per bug #17897 from Alexander Lakhin.  Although 3e310d837 was
back-patched to v11, it seems sufficient to apply this change
to v12 and later, since 04fe805a1 came in in v12.

Dmitry Dolgov

Discussion: https://postgr.es/m/17897-4216c546c3874044@postgresql.org
2023-04-15 12:01:39 -04:00
..
access Fix dereference of dangling pointer in GiST index buffering build. 2023-03-29 11:31:30 -04:00
bootstrap Revert "Skip WAL for new relfilenodes, under wal_level=minimal." 2020-03-22 09:24:13 -07:00
catalog Allow REPLICA IDENTITY to be set on an index that's not (yet) valid. 2023-01-21 13:10:30 -05:00
commands Reject system columns as elements of foreign keys. 2023-03-31 11:18:49 -04:00
executor Fix assignment to array of domain over composite, redux. 2023-04-15 12:01:39 -04:00
foreign Update copyright for 2019 2019-01-02 12:44:25 -05:00
jit Fix typos in comments, code and documentation 2023-01-03 16:26:37 +09:00
lib Fix lock assertions in dshash.c. 2022-07-11 15:51:47 +12:00
libpq Fix handling of SCRAM-SHA-256's channel binding with RSA-PSS certificates 2023-02-15 10:12:38 +09:00
main Fix outdated --help message for postgres -f 2022-08-15 13:37:42 +09:00
nodes Further fixes for MULTIEXPR_SUBLINK fix. 2022-09-06 16:38:18 -04:00
optimizer Fix parallel-safety marking when moving initplans to another node. 2023-04-12 10:46:30 -04:00
parser Fix List memory issue in transformColumnDefinition 2023-03-31 12:15:07 +13:00
partitioning Fix incorrect partition pruning logic for boolean partitioned tables 2023-04-14 16:22:46 +12:00
po Translation updates 2023-02-06 12:21:32 +01:00
port Reject huge_pages=on if shared_memory_type=sysv. 2021-10-26 13:01:52 +13:00
postmaster Small tidyup for commit d41a178b, part II. 2023-03-17 14:47:38 +13:00
regex Defend against stack overrun in a few more places. 2022-08-24 13:01:40 -04:00
replication Don't repeatedly register cache callbacks in pgoutput plugin. 2023-02-23 15:40:28 -05:00
rewrite Fix more bugs caused by adding columns to the end of a view. 2023-03-07 18:21:37 -05:00
snowball In the Snowball dictionary, don't try to stem excessively-long words. 2022-08-31 10:42:05 -04:00
statistics Build inherited extended stats on partitioned tables 2022-01-15 19:02:58 +01:00
storage Fix race in SERIALIZABLE READ ONLY. 2023-03-09 17:25:20 +13:00
tcop Rethink handling of [Prevent|Is]InTransactionBlock in pipeline mode. 2022-12-13 14:23:59 -05:00
tsearch Fix ts_headline() edge cases for empty query and empty search text. 2023-04-06 15:52:37 -04:00
utils Fix oversights in array manipulation. 2023-03-26 13:41:06 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
Makefile Get rid of jsonpath_gram.h and jsonpath_scanner.h 2019-03-20 11:13:34 +03:00
nls.mk Translation updates 2020-08-10 15:21:18 +02:00