aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayfuncs.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-05-04 11:45:37 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-05-04 12:09:08 +0200
commita970edbed306354b0079bdcdc2fc74312122ad89 (patch)
treea80ecd0d5bf5e8f8b4305a0801be24f559792d1d /src/backend/utils/adt/arrayfuncs.c
parentae9492a61bbf575e2862cf9323c7f02806382093 (diff)
downloadpostgresql-a970edbed306354b0079bdcdc2fc74312122ad89.tar.gz
postgresql-a970edbed306354b0079bdcdc2fc74312122ad89.zip
Fix ALTER TABLE / INHERIT with generated columns
When running ALTER TABLE t2 INHERIT t1, we must check that columns in t2 that correspond to a generated column in t1 are also generated and have the same generation expression. Otherwise, this would allow creating setups that a normal CREATE TABLE sequence would not allow. Discussion: https://www.postgresql.org/message-id/22de27f6-7096-8d96-4619-7b882932ca25@2ndquadrant.com
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions