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 | c80a1e0483970f88710469c5bfe55d5e48cf3bd7 (patch) | |
tree | d2985528ca7995b3177cc3ce7605a6b551ed5ff7 /src/tutorial/complex.c | |
parent | d97419b851f87c318c2e188afa9c669b5538010e (diff) | |
download | postgresql-c80a1e0483970f88710469c5bfe55d5e48cf3bd7.tar.gz postgresql-c80a1e0483970f88710469c5bfe55d5e48cf3bd7.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/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions