aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/regress/expected/create_aggregate.out6
-rw-r--r--src/test/regress/sql/create_aggregate.sql6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/test/regress/expected/create_aggregate.out b/src/test/regress/expected/create_aggregate.out
index 08daaa8ee3b..1c540b2d956 100644
--- a/src/test/regress/expected/create_aggregate.out
+++ b/src/test/regress/expected/create_aggregate.out
@@ -3,9 +3,9 @@
--
-- all functions CREATEd
CREATE AGGREGATE newavg (
- sfunc = int4_accum, basetype = int4, stype = _numeric,
- finalfunc = numeric_avg,
- initcond1 = '{0,0,0}'
+ sfunc = int4_avg_accum, basetype = int4, stype = _int8,
+ finalfunc = int8_avg,
+ initcond1 = '{0,0}'
);
-- test comments
COMMENT ON AGGREGATE newavg_wrong (int4) IS 'an agg comment';
diff --git a/src/test/regress/sql/create_aggregate.sql b/src/test/regress/sql/create_aggregate.sql
index 891b0e0892b..9d02048e245 100644
--- a/src/test/regress/sql/create_aggregate.sql
+++ b/src/test/regress/sql/create_aggregate.sql
@@ -4,9 +4,9 @@
-- all functions CREATEd
CREATE AGGREGATE newavg (
- sfunc = int4_accum, basetype = int4, stype = _numeric,
- finalfunc = numeric_avg,
- initcond1 = '{0,0,0}'
+ sfunc = int4_avg_accum, basetype = int4, stype = _int8,
+ finalfunc = int8_avg,
+ initcond1 = '{0,0}'
);
-- test comments