Re: converting from text -> inet ... possible?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: converting from text -> inet ... possible?
Дата
Msg-id 200101181814.NAA25759@candle.pha.pa.us
обсуждение исходный текст
Ответ на converting from text -> inet ... possible?  (The Hermit Hacker <scrappy@hub.org>)
Список pgsql-hackers
Is this a TODO item?

> 
> 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
> 
> 


--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: GET DIAGNOSTICS SELECT PROCESSED INTO
Следующее
От: Tom Lane
Дата:
Сообщение: Re: compiling 7.1-beta1