Re: Using a pointer as statetype for an aggregate

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
Cc: Postgresql-General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Using a pointer as statetype for an aggregate
Date: 2006-05-02 14:53:10
Message-ID: 28883.1146581590@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Florian G. Pflug" <fgp(at)phlo(dot)org> writes:
> why doesn't postgres allow "internal" as statetype?

Because it's not a type. If it were, it certainly wouldn't have the
semantics you seem to hope for (ie, "pass by reference type but don't
actually try to copy the bits")

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Markus Schiltknecht 2006-05-02 15:12:26 convert LO to BYTEA
Previous Message John D. Burger 2006-05-02 14:15:02 Re: How would I write this query...