converting from text -> inet ... possible?

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: converting from text -> inet ... possible?
Date: 2001-01-18 14:43:17
Message-ID: Pine.BSF.4.31.0101181041140.745-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martin A. Marques 2001-01-18 15:06:29 compilation error
Previous Message Michael Meskes 2001-01-18 14:23:10 Changes to include files