summaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_agg.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-08-29 08:38:29 +0200
committerPeter Eisentraut <peter@eisentraut.org>2024-08-29 09:03:06 +0200
commit1c57ae795b3c0650cbac13e0f59f326ddc34c5d0 (patch)
tree81f6a25a0ffd647ee1f804a191a08ac0cec873d0 /src/backend/parser/parse_agg.c
parent5ff394503ce2b5b63239ec23fcaca1dc1d1ff049 (diff)
Disallow USING clause when altering type of generated column
This does not make sense. It would write the output of the USING clause into the converted column, which would violate the generation expression. This adds a check to error out if this is specified. There was a test for this, but that test errored out for a different reason, so it was not effective. Reported-by: Jian He <jian.universality@gmail.com> Reviewed-by: Yugo NAGATA <nagata@sraoss.co.jp> Discussion: https://www.postgresql.org/message-id/flat/c7083982-69f4-4b14-8315-f9ddb20b9834%40eisentraut.org
Diffstat (limited to 'src/backend/parser/parse_agg.c')
0 files changed, 0 insertions, 0 deletions