Put typtype letters back into consistent order
authorPeter Eisentraut <[email protected]>
Tue, 22 Feb 2022 09:08:11 +0000 (10:08 +0100)
committerPeter Eisentraut <[email protected]>
Tue, 22 Feb 2022 09:11:38 +0000 (10:11 +0100)
src/test/regress/expected/type_sanity.out
src/test/regress/sql/type_sanity.sql

index 81c39a01120e10b7fe546b217112a7f848f40f69..d3ac08c9ee3ee9e74c7a15ab74b2cac42e60abc8 100644 (file)
@@ -17,7 +17,7 @@ SELECT t1.oid, t1.typname
 FROM pg_type as t1
 WHERE t1.typnamespace = 0 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
     (t1.typalign not in ('c', 's', 'i', 'd')) OR
     (t1.typstorage not in ('p', 'x', 'e', 'm'));
index 50a885eb448a89f1055b3a3ac044be5c1ee91b86..5edc1f1f6ed06b6df47e6b0092164e7220a79c98 100644 (file)
@@ -20,7 +20,7 @@ SELECT t1.oid, t1.typname
 FROM pg_type as t1
 WHERE t1.typnamespace = 0 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
     (t1.typalign not in ('c', 's', 'i', 'd')) OR
     (t1.typstorage not in ('p', 'x', 'e', 'm'));