Re: syntax issue with custom aggregator - Mailing list pgsql-general

From Tom Lane
Subject Re: syntax issue with custom aggregator
Date
Msg-id 11069.1111779551@sss.pgh.pa.us
Whole thread Raw
In response to syntax issue with custom aggregator  ("Lucas F." <lucasf@vagabond-software.com>)
Responses Re: syntax issue with custom aggregator
List pgsql-general
"Lucas F." <lucasf@vagabond-software.com> writes:
> CREATE AGGREGATE "property"."pos_avg" ( BASETYPE = "int2",
> SFUNC = "property"."ag_pos_avg_accum", STYPE = "_int4",
> FINALFUNC = "property"."ag_pos_avg_final", INITCOND = "'{0,0}'");

Too many quotes ... try INITCOND = '{0,0}'

            regards, tom lane

pgsql-general by date:

Previous
From: "Lucas F."
Date:
Subject: syntax issue with custom aggregator
Next
From: Michael Fuhr
Date:
Subject: Re: syntax issue with custom aggregator