Re: format_type infelicity

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: format_type infelicity
Дата
Msg-id Pine.LNX.4.30.0111191503070.612-100000@peter.localdomain
обсуждение исходный текст
Ответ на format_type infelicity  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane writes:

> I think an appropriate fix would be to make the format_type function
> distinguish between format_type(typeoid, -1) and format_type(typeoid,
> NULL), which it currently treats the same.  The former could be taken
> to mean "give me the type name for a column with typmod -1" whereas
> the latter could be taken to mean "give me a type name in a context
> where there is no typmod", such as a function argument/result type.

This was the idea, but until recently there was no actual need for
printing something different.

-- 
Peter Eisentraut   peter_e@gmx.net



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: beta3
Следующее
От: Tom Lane
Дата:
Сообщение: Re: postgresql.conf