Re: Transition functions for SUM(::int2), SUM(::int4, SUM(::int8])

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Caleb Welton <cwelton(at)greenplum(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Transition functions for SUM(::int2), SUM(::int4, SUM(::int8])
Date: 2008-01-29 03:31:58
Message-ID: 11781.1201577518@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Caleb Welton <cwelton(at)greenplum(dot)com> writes:
> Is there any reason that int2_sum, int4_sum, and int8_sum are not marked as
> being strict?

They wouldn't work otherwise, because the transition datatypes aren't
the same as the inputs.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kris Jurka 2008-01-29 05:09:28 Re: Proposed patch: synchronized_scanning GUC variable
Previous Message Hitoshi Harada 2008-01-29 02:39:23 Re: RFC: array_agg() per SQL:200n