aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/functions.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2024-07-13 08:09:33 -0700
committerNoah Misch <noah@leadboat.com>2024-07-13 08:09:33 -0700
commitd5e6891502ca9e359aa5f5a381d904fe9d606338 (patch)
tree4230d43a582c15d733976f20ab33abea44768ebf /src/backend/executor/functions.c
parent7102070329d8147246d2791321f9915c3b5abf31 (diff)
downloadpostgresql-d5e6891502ca9e359aa5f5a381d904fe9d606338.tar.gz
postgresql-d5e6891502ca9e359aa5f5a381d904fe9d606338.zip
Fix new assertion for MERGE view_name ... DO NOTHING.
Such queries don't expand automatically updatable views, and ModifyTable uses the wholerow attribute unconditionally. The user-visible behavior is fine, so change to more-specific assertions. Commit d5f788b41dc2cbdde6e7694c70dda54d829a5ed5 added the wrong assertion. Back-patch to v17, where commit 5f2e179bd31e5f5803005101eb12a8d7bf8db8f3 introduced MERGE view_name. Reported by Alexander Lakhin. Discussion: https://postgr.es/m/e4b40a88-c134-6926-3196-bc4501cb87a2@gmail.com
Diffstat (limited to 'src/backend/executor/functions.c')
0 files changed, 0 insertions, 0 deletions