Put typtype letters back into consistent order

pull/78/head
Peter Eisentraut 4 years ago
parent 52e4f0cd47
commit 9467321649
  1. 2
      src/test/regress/expected/type_sanity.out
  2. 2
      src/test/regress/sql/type_sanity.sql

@ -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'));

Loading…
Cancel
Save