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

From David E. Wheeler
Subject Re: to_regtype() Raises Error
Date
Msg-id 810B544F-500F-41E3-BC19-67FAFA410526@justatheory.com
Whole thread Raw
In response to Re: to_regtype() Raises Error  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: to_regtype() Raises Error
List pgsql-hackers
Hey there, coming back to this. I poked at the logs in the master branch and saw no mention of to_regtype; did I miss
it?

On Sep 17, 2023, at 10:58 PM, David G. Johnston <david.g.johnston@gmail.com> wrote:

> Parses a string of text, extracts a potential type name from it, and translates that name into an OID.  Failure to
extracta valid potential type name results in an error while a failure to determine that the extracted name is known to
thesystem results in a null output. 
>
> I take specific exception to describing your example as a “textual type name”.

More docs seem like a reasonable compromise. Perhaps it’d be useful to also describe when an error is likely and when
it’snot. 

Best,

David




pgsql-hackers by date:

Previous
From: Ronan Dunklau
Date:
Subject: Re: scalability bottlenecks with (many) partitions (and more)
Next
From: reid.thompson@crunchydata.com
Date:
Subject: Re: Refactoring backend fork+exec code