Re: to_regtype() Raises Error - Mailing list pgsql-hackers

From Tom Lane
Subject Re: to_regtype() Raises Error
Date
Msg-id 4146498.1694993312@sss.pgh.pa.us
Whole thread Raw
In response to Re: to_regtype() Raises Error  (Vik Fearing <vik@postgresfriends.org>)
Responses Re: to_regtype() Raises Error
List pgsql-hackers
Vik Fearing <vik@postgresfriends.org> writes:
> No, that is precisely the point.  The result should be null instead of
> an error.

Yeah, ideally so, but the cost/benefit of making it happen seems
pretty unattractive for now.  See the soft-errors thread at [1],
particularly [2] (but searching in that thread for references to
regclassin, regtypein, and to_reg* will find additional detail).

            regards, tom lane

[1] https://www.postgresql.org/message-id/flat/3bbbb0df-7382-bf87-9737-340ba096e034%40postgrespro.ru
[2] https://www.postgresql.org/message-id/3342239.1671988406%40sss.pgh.pa.us



pgsql-hackers by date:

Previous
From: Vik Fearing
Date:
Subject: Re: to_regtype() Raises Error
Next
From: Erik Wienhold
Date:
Subject: Re: to_regtype() Raises Error