Re: to_regtype() Raises Error

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: to_regtype() Raises Error
Дата
Msg-id 810B544F-500F-41E3-BC19-67FAFA410526@justatheory.com
обсуждение исходный текст
Ответ на Re: to_regtype() Raises Error  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: to_regtype() Raises Error  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Ronan Dunklau
Дата:
Сообщение: Re: scalability bottlenecks with (many) partitions (and more)
Следующее
От: reid.thompson@crunchydata.com
Дата:
Сообщение: Re: Refactoring backend fork+exec code