]> granicus.if.org Git - postgresql/commitdiff
Fix collation dependency in test introduced in 8586bf7ed8.
authorAndres Freund <andres@anarazel.de>
Wed, 6 Mar 2019 19:06:01 +0000 (11:06 -0800)
committerAndres Freund <andres@anarazel.de>
Wed, 6 Mar 2019 19:06:01 +0000 (11:06 -0800)
Per buildfarm.

src/test/regress/expected/create_am.out
src/test/regress/sql/create_am.sql

index 8a63cedb56955e37c70ebbb1ae112a5ecd530263..cf8b0ff91b18a85f0173bdb0abd43b3f131f42ba 100644 (file)
@@ -173,7 +173,7 @@ SELECT
         (SELECT 'toast for ' || relname::regclass FROM pg_class pcm WHERE pcm.reltoastrelid = pc.oid)
     ELSE
         relname::regclass::text
-    END AS relname
+    END COLLATE "C" AS relname
 FROM pg_class AS pc,
     pg_am AS pa
 WHERE pa.oid = pc.relam
@@ -183,8 +183,8 @@ ORDER BY 3, 1, 2;
 ---------+--------+----------------------------------
  r       | heap2  | tableam_parted_b_heap2
  r       | heap2  | tableam_parted_d_heap2
- r       | heap2  | tableam_tblas_heap2
  r       | heap2  | tableam_tbl_heap2
+ r       | heap2  | tableam_tblas_heap2
  m       | heap2  | tableam_tblmv_heap2
  t       | heap2  | toast for tableam_parted_b_heap2
  t       | heap2  | toast for tableam_parted_d_heap2
index 516401ddfe804f7791495b1aea151ce0bb2014e6..9d7778fdfe8bf06df952ba11de2df7b27b520739 100644 (file)
@@ -123,7 +123,7 @@ SELECT
         (SELECT 'toast for ' || relname::regclass FROM pg_class pcm WHERE pcm.reltoastrelid = pc.oid)
     ELSE
         relname::regclass::text
-    END AS relname
+    END COLLATE "C" AS relname
 FROM pg_class AS pc,
     pg_am AS pa
 WHERE pa.oid = pc.relam