You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
psql: conditionally display oids and replication identity
In psql \d+, display oids only when they exist, and display replication
identity only when it is non-default. Also document the defaults for
replication identity for system and non-system tables. Update
regression output.
SELECT description FROM pg_description, pg_constraint c WHERE classoid = 'pg_constraint'::regclass AND objoid = c.oid AND c.conrelid = 'ctlt1_inh'::regclass;
146
143
description
@@ -162,7 +159,6 @@ Check constraints:
162
159
"ctlt3_a_check" CHECK (length(a) < 5)
163
160
Inherits: ctlt1,
164
161
ctlt3
165
-
Has OIDs: no
166
162
167
163
CREATE TABLE ctlt13_like (LIKE ctlt3 INCLUDING CONSTRAINTS INCLUDING COMMENTS INCLUDING STORAGE) INHERITS (ctlt1);
168
164
NOTICE: merging column "a" with inherited definition
@@ -177,7 +173,6 @@ Check constraints:
177
173
"ctlt1_a_check" CHECK (length(a) > 2)
178
174
"ctlt3_a_check" CHECK (length(a) < 5)
179
175
Inherits: ctlt1
180
-
Has OIDs: no
181
176
182
177
SELECT description FROM pg_description, pg_constraint c WHERE classoid = 'pg_constraint'::regclass AND objoid = c.oid AND c.conrelid = 'ctlt13_like'::regclass;
183
178
description
@@ -198,7 +193,6 @@ Indexes:
198
193
"ctlt_all_expr_idx" btree ((a || b))
199
194
Check constraints:
200
195
"ctlt1_a_check" CHECK (length(a) > 2)
201
-
Has OIDs: no
202
196
203
197
SELECT c.relname, objsubid, description FROM pg_description, pg_index i, pg_class c WHERE classoid = 'pg_class'::regclass AND objoid = i.indexrelid AND c.oid = i.indexrelid AND i.indrelid = 'ctlt_all'::regclass ORDER BY c.relname, objsubid;
0 commit comments