Simple PG Sql question (i hope)

Поиск
Список
Период
Сортировка
От Tony Caduto
Тема Simple PG Sql question (i hope)
Дата
Msg-id 42F7AD2C.2060903@amsoftwaredesign.com
обсуждение исходный текст
Ответ на Updating timestamps  (Nigel Horne <njh@bandsman.co.uk>)
Ответы AMD 64 RPM?  (Tony Caduto <tony_caduto@amsoftwaredesign.com>)
Re: Simple PG Sql question (i hope)  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-general
I have a simple query:

select true,78,'Here is a value' as stringfield, testname from tbltest;

it returns:
true as bool
 78 as int4
and the string 'Here is a value' as Unknown

Why is it that all the values besides the string come back with the
correct type?
what is a simple string being returned as unknown instead of varchar or
text?


Thanks,

Tony

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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: escape string type for upcoming 8.1
Следующее
От: Tony Caduto
Дата:
Сообщение: AMD 64 RPM?