Re: Is this fixed in the 7.4 release?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Is this fixed in the 7.4 release?
Дата
Msg-id 6450.1079977481@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Is this fixed in the 7.4 release?  (Wei Weng <wweng@kencast.com>)
Список pgsql-interfaces
Wei Weng <wweng@kencast.com> writes:
> Basically, I am asking the program to return me the field type of the 
> first column in the command "select '' AS blah". I was expecting 
> something like a CHAROID, but the return value is UNKNOWNOID (OID(705)). 

> Is this a bug?

No.  There isn't anything in that command that constrains the datatype
of the literal, so its type remains UNKNOWN.
        regards, tom lane


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

Предыдущее
От: Wei Weng
Дата:
Сообщение: Is this fixed in the 7.4 release?
Следующее
От: "Preston A. Elder"
Дата:
Сообщение: Portable interfaces ...