Remove newly-added regression test cases that referenced pg_stats.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 15 Dec 2008 16:52:16 +0000 (16:52 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 15 Dec 2008 16:52:16 +0000 (16:52 +0000)
The proposed fix for this is a behavioral change that probably shouldn't
get back-patched, and it doesn't seem worth putting a workaround into
a back branch.

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

index 5741b075be97254fd0c5885a7678afd8a03cad7e..a208203c6d39881a911919f9a221ce5c0e96a7b0 100644 (file)
@@ -613,14 +613,3 @@ create aggregate build_group(int8, integer) (
   SFUNC = add_group,
   STYPE = int8[]
 );
--- check that we can apply functions taking ANYARRAY to pg_stats
-select distinct array_eq(histogram_bounds,histogram_bounds) from pg_stats
-where histogram_bounds is not null;
- array_eq 
-----------
- t
-(1 row)
-
--- such functions must protect themselves if varying element type isn't OK
-select max(histogram_bounds) from pg_stats;
-ERROR:  cannot compare arrays of different element types
index 015443ce22c54221e5abd0435d2cecdf2bb6daac..2df963952f4e2ff9583a5ad63a4520cbb6df3d51 100644 (file)
@@ -426,10 +426,3 @@ create aggregate build_group(int8, integer) (
   SFUNC = add_group,
   STYPE = int8[]
 );
-
--- check that we can apply functions taking ANYARRAY to pg_stats
-select distinct array_eq(histogram_bounds,histogram_bounds) from pg_stats
-where histogram_bounds is not null;
-
--- such functions must protect themselves if varying element type isn't OK
-select max(histogram_bounds) from pg_stats;