aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/variable.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2011-04-18 10:13:34 -0400
committerRobert Haas <rhaas@postgresql.org>2011-04-18 10:19:46 -0400
commit04db0fdbfa9382730bb65f94bca2cd8063a3456a (patch)
treefa66be340f38b1cd5507732828e59aef0744a293 /src/backend/commands/variable.c
parentb7b86924c6da46c774e1ab5d524a6bc4f72627ab (diff)
downloadpostgresql-04db0fdbfa9382730bb65f94bca2cd8063a3456a.tar.gz
postgresql-04db0fdbfa9382730bb65f94bca2cd8063a3456a.zip
Only allow typed tables to hang off composite types, not e.g. tables.
This also ensures that we take a relation lock on the composite type when creating a typed table, which is necessary to prevent the composite type and the typed table from getting out of step in the face of concurrent DDL. Noah Misch, with some changes.
Diffstat (limited to 'src/backend/commands/variable.c')
0 files changed, 0 insertions, 0 deletions