- Notifications
You must be signed in to change notification settings - Fork5
Commit04db0fd
committed
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 whencreating a typed table, which is necessary to prevent the composite typeand the typed table from getting out of step in the face of concurrentDDL.Noah Misch, with some changes.1 parentb7b8692 commit04db0fd
File tree
3 files changed
+20
-1
lines changed- src
- backend/parser
- test/regress
- expected
- sql
3 files changed
+20
-1
lines changedLines changed: 16 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
825 | 825 |
| |
826 | 826 |
| |
827 | 827 |
| |
| 828 | + | |
828 | 829 |
| |
829 | 830 |
| |
830 | 831 |
| |
| |||
833 | 834 |
| |
834 | 835 |
| |
835 | 836 |
| |
836 |
| - | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
837 | 852 |
| |
838 | 853 |
| |
839 | 854 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
| 94 | + | |
| 95 | + | |
94 | 96 |
| |
95 | 97 |
| |
96 | 98 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
| 49 | + | |
| 50 | + | |
49 | 51 |
| |
50 | 52 |
| |
51 | 53 |
| |
|
0 commit comments
Comments
(0)