diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2024-10-21 15:08:22 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2024-10-21 15:08:22 -0400 |
commit | 5e94f616c8321a2e95986a236c10dfa26a3a844a (patch) | |
tree | 2f808b24231a1708e74fcc42bb556ff53b1d888a /src/backend/executor/nodeSort.c | |
parent | 520ec2474b392805ca4d7f29205e245ac70ea0e1 (diff) | |
download | postgresql-5e94f616c8321a2e95986a236c10dfa26a3a844a.tar.gz postgresql-5e94f616c8321a2e95986a236c10dfa26a3a844a.zip |
Fix wrong assertion and poor error messages in "COPY (query) TO".
If the query is rewritten into a NOTIFY command by a DO INSTEAD
rule, we'd get an assertion failure, or in non-assert builds
issue a rather confusing error message. Improve that.
Also fix a longstanding grammar mistake in a nearby error message.
Per bug #18664 from Alexander Lakhin. Back-patch to all supported
branches.
Tender Wang and Tom Lane
Discussion: https://postgr.es/m/18664-ffd0ebc2386598df@postgresql.org
Diffstat (limited to 'src/backend/executor/nodeSort.c')
0 files changed, 0 insertions, 0 deletions