diff options
| author | Peter Eisentraut <peter@eisentraut.org> | 2021-05-04 11:45:37 +0200 |
|---|---|---|
| committer | Peter Eisentraut <peter@eisentraut.org> | 2021-05-04 12:10:22 +0200 |
| commit | 64190d65f2995203df401738b77adc5ebd4d2fce (patch) | |
| tree | 51f22aa655ba9ffe02d689bad48ed6b35c7a487a /doc/src/sgml/ref/create_user_mapping.sgml | |
| parent | e48ce7ef0ef8de3d8e9e56be4d23d7830681b18b (diff) | |
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 'doc/src/sgml/ref/create_user_mapping.sgml')
0 files changed, 0 insertions, 0 deletions
