Re: What happened to the is_ family of functions proposal? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: What happened to the is_ family of functions proposal?
Date
Msg-id 11394.1285110592@sss.pgh.pa.us
Whole thread Raw
In response to Re: What happened to the is_ family of functions proposal?  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Excerpts from Tom Lane's message of mar sep 21 13:41:32 -0400 2010:
>> ...never make this work for anything more complicated than say float8in().

> ... which is what people want anyway.  I mean, the day someone requests
> is_sthcomplex, we could happily tell them that they need to use the
> expensive workaround involving savepoints.  I don't think we really need
> to support the ones that would require truly expensive refactoring; the
> simple ones would cover 99% of the use cases.

Robert was complaining about COPY in particular.  It's hard to see how
you make any progress on that if you don't have pretty near 100%
coverage of datatypes.  I don't object if someone puts in is_integer,
is_float, etc; but that's nowhere near a general purpose solution.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: What happened to the is_ family of functions proposal?
Next
From: "Kevin Grittner"
Date:
Subject: Re: moving development branch activity to new git repo