From 3e2275355954cabf89ba044fe8557ef347bf3fb1 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Tue, 23 Dec 2014 16:55:51 -0500
Subject: [PATCH] Remove failing collation case from object_address regression
 test.

Per buildfarm, this test case does not yield consistent results.
I don't think it's useful enough to figure out a workaround, either.
---
 src/test/regress/expected/object_address.out | 7 -------
 src/test/regress/sql/object_address.sql      | 1 -
 2 files changed, 8 deletions(-)

diff --git a/src/test/regress/expected/object_address.out b/src/test/regress/expected/object_address.out
index 67eadffc6bc..1528b29317b 100644
--- a/src/test/regress/expected/object_address.out
+++ b/src/test/regress/expected/object_address.out
@@ -75,7 +75,6 @@ BEGIN
 		('materialized view'), ('foreign table'),
 		('table column'), ('foreign table column'),
 		('aggregate'), ('function'), ('type'), ('cast'),
-		('collation'),
 		('table constraint'), ('domain constraint'), ('conversion'), ('default value'),
 		('operator'), ('operator class'), ('operator family'), ('rule'), ('trigger'),
 		('text search parser'), ('text search dictionary'),
@@ -168,12 +167,6 @@ WARNING:  error for cast,{addr_nsp,zwei},{}: name list length must be exactly 1
 WARNING:  error for cast,{addr_nsp,zwei},{integer}: name list length must be exactly 1
 WARNING:  error for cast,{eins,zwei,drei},{}: name list length must be exactly 1
 WARNING:  error for cast,{eins,zwei,drei},{integer}: name list length must be exactly 1
-WARNING:  error for collation,{eins},{}: collation "eins" for encoding "UTF8" does not exist
-WARNING:  error for collation,{eins},{integer}: collation "eins" for encoding "UTF8" does not exist
-WARNING:  error for collation,{addr_nsp,zwei},{}: collation "addr_nsp.zwei" for encoding "UTF8" does not exist
-WARNING:  error for collation,{addr_nsp,zwei},{integer}: collation "addr_nsp.zwei" for encoding "UTF8" does not exist
-WARNING:  error for collation,{eins,zwei,drei},{}: cross-database references are not implemented: eins.zwei.drei
-WARNING:  error for collation,{eins,zwei,drei},{integer}: cross-database references are not implemented: eins.zwei.drei
 WARNING:  error for table constraint,{eins},{}: must specify relation and object name
 WARNING:  error for table constraint,{eins},{integer}: must specify relation and object name
 WARNING:  error for table constraint,{addr_nsp,zwei},{}: relation "addr_nsp" does not exist
diff --git a/src/test/regress/sql/object_address.sql b/src/test/regress/sql/object_address.sql
index bd4c7c5016a..6cba0923610 100644
--- a/src/test/regress/sql/object_address.sql
+++ b/src/test/regress/sql/object_address.sql
@@ -71,7 +71,6 @@ BEGIN
 		('materialized view'), ('foreign table'),
 		('table column'), ('foreign table column'),
 		('aggregate'), ('function'), ('type'), ('cast'),
-		('collation'),
 		('table constraint'), ('domain constraint'), ('conversion'), ('default value'),
 		('operator'), ('operator class'), ('operator family'), ('rule'), ('trigger'),
 		('text search parser'), ('text search dictionary'),
-- 
GitLab