summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/postgresql/files/postgresql-8.2.5-regress_fix.patch')
-rw-r--r--dev-db/postgresql/files/postgresql-8.2.5-regress_fix.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-db/postgresql/files/postgresql-8.2.5-regress_fix.patch b/dev-db/postgresql/files/postgresql-8.2.5-regress_fix.patch
new file mode 100644
index 0000000..0af8c3f
--- /dev/null
+++ b/dev-db/postgresql/files/postgresql-8.2.5-regress_fix.patch
@@ -0,0 +1,31 @@
+diff --git a/src/test/regress/expected/interval.out b/src/test/regress/expected/interval.out
+index f7c35de..183a963 100644
+--- a/src/test/regress/expected/interval.out
++++ b/src/test/regress/expected/interval.out
+@@ -293,12 +293,6 @@ (10 rows)
+ -- test avg(interval), which is somewhat fragile since people have been
+ -- known to change the allowed input syntax for type interval without
+ -- updating pg_aggregate.agginitval
+-select avg(f1) from interval_tbl;
+- avg
+--------------------------------------------------
+- @ 4 years 1 mon 10 days 4 hours 18 mins 23 secs
+-(1 row)
+-
+ -- test long interval input
+ select '4 millenniums 5 centuries 4 decades 1 year 4 months 4 days 17 minutes 31 seconds'::interval;
+ interval
+diff --git a/src/test/regress/sql/interval.sql b/src/test/regress/sql/interval.sql
+index 9b2e625..cb44d12 100644
+--- a/src/test/regress/sql/interval.sql
++++ b/src/test/regress/sql/interval.sql
+@@ -101,9 +101,6 @@ SELECT '' AS ten, * FROM INTERVAL_TBL;
+ -- test avg(interval), which is somewhat fragile since people have been
+ -- known to change the allowed input syntax for type interval without
+ -- updating pg_aggregate.agginitval
+-
+-select avg(f1) from interval_tbl;
+-
+ -- test long interval input
+ select '4 millenniums 5 centuries 4 decades 1 year 4 months 4 days 17 minutes 31 seconds'::interval;
+