summaryrefslogtreecommitdiff
blob: 0cb39d576f3497730a4453c00c2dc006582d692b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- src/test/regress/sql/interval.sql	2006-08-05 14:45:52.000000000 +0200
+++ src/test/regress/sql/interval.sql	2006-08-05 14:46:15.000000000 +0200
@@ -61,12 +61,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;
 
--- src/test/regress/expected/interval.out	2006-08-05 14:46:23.000000000 +0200
+++ src/test/regress/expected/interval.out	2006-08-05 14:46:51.000000000 +0200
@@ -212,15 +212,6 @@
      | @ 5 mons 12 hours
 (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 9 days 28 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