More splits and cleanups...

This commit is contained in:
Marc G. Fournier
1997-04-06 06:07:13 +00:00
parent 063190a5fa
commit 588ae64c44
14 changed files with 4175 additions and 4173 deletions

View File

@ -0,0 +1,26 @@
--
-- AGGREGATE DEFINITIONS
--
-- all functions CREATEd
CREATE AGGREGATE newavg (
sfunc1 = int4pl, basetype = int4, stype1 = int4,
sfunc2 = int4inc, stype2 = int4,
finalfunc = int4div,
initcond1 = '0', initcond2 = '0'
);
-- sfunc1 (value-dependent) only
CREATE AGGREGATE newsum (
sfunc1 = int4pl, basetype = int4, stype1 = int4,
initcond1 = '0'
);
-- sfunc2 (value-independent) only
CREATE AGGREGATE newcnt (
sfunc2 = int4inc, basetype = int4, stype2 = int4,
initcond2 = '0'
);
VACUUM;