@@ -156,32 +156,32 @@ CREATE TABLE ctlt4 (a text, c text);
156
156
ALTER TABLE ctlt4 ALTER COLUMN c SET STORAGE EXTERNAL;
157
157
CREATE TABLE ctlt12_storage (LIKE ctlt1 INCLUDING STORAGE, LIKE ctlt2 INCLUDING STORAGE);
158
158
\d+ ctlt12_storage
159
- Table "public.ctlt12_storage"
160
- Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
161
- --------+------+-----------+----------+---------+----------+--------------+-------------
162
- a | text | | not null | | main | |
163
- b | text | | | | extended | |
164
- c | text | | | | external | |
159
+ Table "public.ctlt12_storage"
160
+ Column | Type | Collation | Nullable | Default | Storage |Compression | Stats target | Description
161
+ --------+------+-----------+----------+---------+----------+-------------+------------- -+-------------
162
+ a | text | | not null | | main || |
163
+ b | text | | | | extended || |
164
+ c | text | | | | external || |
165
165
166
166
CREATE TABLE ctlt12_comments (LIKE ctlt1 INCLUDING COMMENTS, LIKE ctlt2 INCLUDING COMMENTS);
167
167
\d+ ctlt12_comments
168
- Table "public.ctlt12_comments"
169
- Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
170
- --------+------+-----------+----------+---------+----------+--------------+-------------
171
- a | text | | not null | | extended | | A
172
- b | text | | | | extended | | B
173
- c | text | | | | extended | | C
168
+ Table "public.ctlt12_comments"
169
+ Column | Type | Collation | Nullable | Default | Storage |Compression | Stats target | Description
170
+ --------+------+-----------+----------+---------+----------+-------------+------------- -+-------------
171
+ a | text | | not null | | extended || | A
172
+ b | text | | | | extended || | B
173
+ c | text | | | | extended || | C
174
174
175
175
CREATE TABLE ctlt1_inh (LIKE ctlt1 INCLUDING CONSTRAINTS INCLUDING COMMENTS) INHERITS (ctlt1);
176
176
NOTICE: merging column "a" with inherited definition
177
177
NOTICE: merging column "b" with inherited definition
178
178
NOTICE: merging constraint "ctlt1_a_check" with inherited definition
179
179
\d+ ctlt1_inh
180
- Table "public.ctlt1_inh"
181
- Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
182
- --------+------+-----------+----------+---------+----------+--------------+-------------
183
- a | text | | not null | | main | | A
184
- b | text | | | | extended | | B
180
+ Table "public.ctlt1_inh"
181
+ Column | Type | Collation | Nullable | Default | Storage |Compression | Stats target | Description
182
+ --------+------+-----------+----------+---------+----------+-------------+------------- -+-------------
183
+ a | text | | not null | | main || | A
184
+ b | text | | | | extended || | B
185
185
Check constraints:
186
186
"ctlt1_a_check" CHECK (length(a) > 2)
187
187
Inherits: ctlt1
@@ -195,12 +195,12 @@ SELECT description FROM pg_description, pg_constraint c WHERE classoid = 'pg_con
195
195
CREATE TABLE ctlt13_inh () INHERITS (ctlt1, ctlt3);
196
196
NOTICE: merging multiple inherited definitions of column "a"
197
197
\d+ ctlt13_inh
198
- Table "public.ctlt13_inh"
199
- Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
200
- --------+------+-----------+----------+---------+----------+--------------+-------------
201
- a | text | | not null | | main | |
202
- b | text | | | | extended | |
203
- c | text | | | | external | |
198
+ Table "public.ctlt13_inh"
199
+ Column | Type | Collation | Nullable | Default | Storage |Compression | Stats target | Description
200
+ --------+------+-----------+----------+---------+----------+-------------+------------- -+-------------
201
+ a | text | | not null | | main || |
202
+ b | text | | | | extended || |
203
+ c | text | | | | external || |
204
204
Check constraints:
205
205
"ctlt1_a_check" CHECK (length(a) > 2)
206
206
"ctlt3_a_check" CHECK (length(a) < 5)
@@ -210,12 +210,12 @@ Inherits: ctlt1,
210
210
CREATE TABLE ctlt13_like (LIKE ctlt3 INCLUDING CONSTRAINTS INCLUDING COMMENTS INCLUDING STORAGE) INHERITS (ctlt1);
211
211
NOTICE: merging column "a" with inherited definition
212
212
\d+ ctlt13_like
213
- Table "public.ctlt13_like"
214
- Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
215
- --------+------+-----------+----------+---------+----------+--------------+-------------
216
- a | text | | not null | | main | | A3
217
- b | text | | | | extended | |
218
- c | text | | | | external | | C
213
+ Table "public.ctlt13_like"
214
+ Column | Type | Collation | Nullable | Default | Storage |Compression | Stats target | Description
215
+ --------+------+-----------+----------+---------+----------+-------------+------------- -+-------------
216
+ a | text | | not null | | main || | A3
217
+ b | text | | | | extended || |
218
+ c | text | | | | external || | C
219
219
Check constraints:
220
220
"ctlt1_a_check" CHECK (length(a) > 2)
221
221
"ctlt3_a_check" CHECK (length(a) < 5)
@@ -229,11 +229,11 @@ SELECT description FROM pg_description, pg_constraint c WHERE classoid = 'pg_con
229
229
230
230
CREATE TABLE ctlt_all (LIKE ctlt1 INCLUDING ALL);
231
231
\d+ ctlt_all
232
- Table "public.ctlt_all"
233
- Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
234
- --------+------+-----------+----------+---------+----------+--------------+-------------
235
- a | text | | not null | | main | | A
236
- b | text | | | | extended | | B
232
+ Table "public.ctlt_all"
233
+ Column | Type | Collation | Nullable | Default | Storage |Compression | Stats target | Description
234
+ --------+------+-----------+----------+---------+----------+-------------+------------- -+-------------
235
+ a | text | | not null | | main || | A
236
+ b | text | | | | extended || | B
237
237
Indexes:
238
238
"ctlt_all_pkey" PRIMARY KEY, btree (a)
239
239
"ctlt_all_b_idx" btree (b)