diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2021-05-27 09:52:12 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2021-05-27 09:54:14 +0200 |
commit | 388e75ad33489b77cfb9a8590a91e9287d8fb960 (patch) | |
tree | 1ef258f3c6d78552dc9ecedd2b3b97f2cba93f20 /src/backend/executor/nodeSetOp.c | |
parent | 2941138e60fc711bd221b3264807f36cc079dfbb (diff) | |
download | postgresql-388e75ad33489b77cfb9a8590a91e9287d8fb960.tar.gz postgresql-388e75ad33489b77cfb9a8590a91e9287d8fb960.zip |
Replace run-time error check with assertion
The error message was checking that the structures returned from the
parser matched expectations. That's something we usually use
assertions for, not a full user-facing error message. So replace that
with an assertion (hidden inside lfirst_node()).
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/452e9df8-ec89-e01b-b64a-8cc6ce830458%40enterprisedb.com
Diffstat (limited to 'src/backend/executor/nodeSetOp.c')
0 files changed, 0 insertions, 0 deletions