Re: Inet type how to? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Inet type how to?
Date
Msg-id 200006022038.QAA04701@candle.pha.pa.us
Whole thread Raw
In response to Re: Inet type how to?  (Alex Pilosov <alex@pilosoft.com>)
Responses Re: Inet type how to?
List pgsql-hackers
> None works. I tried. There is no type that can be cast to inet. And
> inet_in has a different calling sequence, and you can't really use that.

Added to TODO.


> 
> -alex
> 
> On Fri, 2 Jun 2000, Bruce Momjian wrote:
> 
> > > It works for me for \copy (which uses inserts)
> > > 
> > > But yes, there is no way to convert text to inet, which is a pain. When it
> > > annoys me sufficiently, I think I'll write text_inet wrapping inet_in...Or
> > > just wait for someone else to do it (TODO, bruce? ;)
> > > 
> > 
> > We don't?  What about some double-casting option?
> > 
> > 
> 
> 


--  Bruce Momjian                        |  http://www.op.net/~candle 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 by date:

Previous
From: Alex Pilosov
Date:
Subject: Re: Inet type how to?
Next
From: Olivier PRENANT
Date:
Subject: Re: Inet type how to?