aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt
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:00:06 +0200
commit5867ee0056a2db40160926e1a4684d435a099ef4 (patch)
treee39c825c34d2a5faafda6e285a76abf39d50b135 /src/backend/utils/adt
parentb39c5272c1d22d80a736647081b60a55a2d9d51e (diff)
downloadpostgresql-5867ee0056a2db40160926e1a4684d435a099ef4.tar.gz
postgresql-5867ee0056a2db40160926e1a4684d435a099ef4.zip
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/utils/adt')
0 files changed, 0 insertions, 0 deletions