converting from text -> inet ... possible?

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема converting from text -> inet ... possible?
Дата
Msg-id Pine.BSF.4.31.0101181041140.745-100000@thelab.hub.org
обсуждение исходный текст
Ответы Re: converting from text -> inet ... possible?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
I scanned the archives, and one person asked it back in July, but there
doesn't appear to be any followup ...

Is it possible to go from text->inet in v7.0.3?  if not, is it in v7.1?

the following doesn't work:

template1=# select '216.126.84.1'::text::inet;
ERROR:  Cannot cast type 'text' to 'inet'

but I could be missing something in the docs?


Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org



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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Changes to include files
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: converting from text -> inet ... possible?