mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Put typtype letters back into consistent order
This commit is contained in:
@ -17,7 +17,7 @@ SELECT t1.oid, t1.typname
|
|||||||
FROM pg_type as t1
|
FROM pg_type as t1
|
||||||
WHERE t1.typnamespace = 0 OR
|
WHERE t1.typnamespace = 0 OR
|
||||||
(t1.typlen <= 0 AND t1.typlen != -1 AND t1.typlen != -2) OR
|
(t1.typlen <= 0 AND t1.typlen != -1 AND t1.typlen != -2) OR
|
||||||
(t1.typtype not in ('b', 'c', 'd', 'e', 'p', 'r', 'm')) OR
|
(t1.typtype not in ('b', 'c', 'd', 'e', 'm', 'p', 'r')) OR
|
||||||
NOT t1.typisdefined OR
|
NOT t1.typisdefined OR
|
||||||
(t1.typalign not in ('c', 's', 'i', 'd')) OR
|
(t1.typalign not in ('c', 's', 'i', 'd')) OR
|
||||||
(t1.typstorage not in ('p', 'x', 'e', 'm'));
|
(t1.typstorage not in ('p', 'x', 'e', 'm'));
|
||||||
|
@ -20,7 +20,7 @@ SELECT t1.oid, t1.typname
|
|||||||
FROM pg_type as t1
|
FROM pg_type as t1
|
||||||
WHERE t1.typnamespace = 0 OR
|
WHERE t1.typnamespace = 0 OR
|
||||||
(t1.typlen <= 0 AND t1.typlen != -1 AND t1.typlen != -2) OR
|
(t1.typlen <= 0 AND t1.typlen != -1 AND t1.typlen != -2) OR
|
||||||
(t1.typtype not in ('b', 'c', 'd', 'e', 'p', 'r', 'm')) OR
|
(t1.typtype not in ('b', 'c', 'd', 'e', 'm', 'p', 'r')) OR
|
||||||
NOT t1.typisdefined OR
|
NOT t1.typisdefined OR
|
||||||
(t1.typalign not in ('c', 's', 'i', 'd')) OR
|
(t1.typalign not in ('c', 's', 'i', 'd')) OR
|
||||||
(t1.typstorage not in ('p', 'x', 'e', 'm'));
|
(t1.typstorage not in ('p', 'x', 'e', 'm'));
|
||||||
|
Reference in New Issue
Block a user