Re: string_to_array has to be stable? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: string_to_array has to be stable?
Date
Msg-id 27322.1280423428@sss.pgh.pa.us
Whole thread Raw
In response to Re: string_to_array has to be stable?  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: string_to_array has to be stable?
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Thu, Jul 29, 2010 at 1:00 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Or we could decide that volatile domain CHECK expressions are un-sensible
>> and just relabel all these input functions as stable, which would make
>> everything consistent. �Thoughts?

> Aren't volatile CHECK expressions pretty un-sensible in general?

Yeah, probably so.  I can't think of a use-case that seems like it would
justify the possible performance hit from having to assume all functions
performing datatype input calls are volatile.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Vincenzo Romano
Date:
Subject: On Scalability
Next
From: "Joshua D. Drake"
Date:
Subject: Re: On Scalability