aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorDean Rasheed <dean.a.rasheed@gmail.com>2023-01-10 14:16:27 +0000
committerDean Rasheed <dean.a.rasheed@gmail.com>2023-01-10 14:16:27 +0000
commit38255f2d0059a101c3fb791d6523a9e66e55aa66 (patch)
tree448b2d1782e7b384d2e48e28724f728641e049fd /src/backend/executor/nodeModifyTable.c
parent18b81258ab60cdd172329fe80dd2314d587bd551 (diff)
downloadpostgresql-38255f2d0059a101c3fb791d6523a9e66e55aa66.tar.gz
postgresql-38255f2d0059a101c3fb791d6523a9e66e55aa66.zip
Fix MERGE's test for unreachable WHEN clauses.
The former code would only detect an unreachable WHEN clause if it had an AND condition. Fix, so that unreachable unconditional WHEN clauses are also detected. Back-patch to v15, where MERGE was added. Discussion: https://postgr.es/m/CAEZATCVQ=7E2z4cSBB49jjeGGsB6WeoYQY32NDeSvcHiLUZ=ow@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions