Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group