From: Tom Lane Date: Mon, 15 Dec 2008 16:52:16 +0000 (+0000) Subject: Remove newly-added regression test cases that referenced pg_stats. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=6eccabb6b7b30bd0d7334d41ec3b6a8bf52cee33;p=users%2Fbernd%2Fpostgres.git Remove newly-added regression test cases that referenced pg_stats. 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. --- diff --git a/src/test/regress/expected/polymorphism.out b/src/test/regress/expected/polymorphism.out index 5741b075be..a208203c6d 100644 --- a/src/test/regress/expected/polymorphism.out +++ b/src/test/regress/expected/polymorphism.out @@ -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 diff --git a/src/test/regress/sql/polymorphism.sql b/src/test/regress/sql/polymorphism.sql index 015443ce22..2df963952f 100644 --- a/src/test/regress/sql/polymorphism.sql +++ b/src/test/regress/sql/polymorphism.sql @@ -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;