diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-08-12 12:05:50 +0200 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2022-08-12 12:05:50 +0200 |
commit | 455d254d22665eb7af3b714435f3fecc63696cc7 (patch) | |
tree | 3fed7037832968b7a77391721e86f1d1622778f1 /src/tutorial/funcs.c | |
parent | e1878cf94134429bf951b41ed523363c2fa2d6b4 (diff) | |
download | postgresql-455d254d22665eb7af3b714435f3fecc63696cc7.tar.gz postgresql-455d254d22665eb7af3b714435f3fecc63696cc7.zip |
Reject MERGE in CTEs and COPY
The grammar added for MERGE inadvertently made it accepted syntax in
places that were not prepared to deal with it -- namely COPY and inside
CTEs, but invoking these things with MERGE currently causes assertion
failures or weird misbehavior in non-assertion builds. Protect those
places by checking for it explicitly until somebody decides to implement
it.
Reported-by: Alexey Borzov <borz_off@cs.msu.su>
Discussion: https://postgr.es/m/17579-82482cd7b267b862@postgresql.org
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions