mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Improve spelling of new FINALFUNC_MODIFY aggregate attribute.
I'd used SHARABLE as a value originally, but Peter Eisentraut points out that dictionaries agree that SHAREABLE is the preferred spelling. Run around and change that before it's too late. Discussion: https://postgr.es/m/d2e1afd4-659c-50d6-1b20-7cfd3675e909@2ndquadrant.com
This commit is contained in:
@ -148,7 +148,7 @@ CREATE AGGREGATE myavg (numeric)
|
||||
serialfunc = numeric_avg_serialize,
|
||||
deserialfunc = numeric_avg_deserialize,
|
||||
combinefunc = numeric_avg_combine,
|
||||
finalfunc_modify = sharable -- just to test a non-default setting
|
||||
finalfunc_modify = shareable -- just to test a non-default setting
|
||||
);
|
||||
-- Ensure all these functions made it into the catalog
|
||||
SELECT aggfnoid, aggtransfn, aggcombinefn, aggtranstype::regtype,
|
||||
|
@ -163,7 +163,7 @@ CREATE AGGREGATE myavg (numeric)
|
||||
serialfunc = numeric_avg_serialize,
|
||||
deserialfunc = numeric_avg_deserialize,
|
||||
combinefunc = numeric_avg_combine,
|
||||
finalfunc_modify = sharable -- just to test a non-default setting
|
||||
finalfunc_modify = shareable -- just to test a non-default setting
|
||||
);
|
||||
|
||||
-- Ensure all these functions made it into the catalog
|
||||
|
Reference in New Issue
Block a user