Re: Inet type how to?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Alex Pilosov <alex(at)pilosoft(dot)com>
Cc: Olivier PRENANT <ohp(at)pyrenet(dot)fr>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Inet type how to?
Date: 2000-06-02 20:38:30
Message-ID: 200006022038.QAA04701@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Olivier PRENANT 2000-06-02 20:40:02 Re: Inet type how to?
Previous Message Alex Pilosov 2000-06-02 20:36:43 Re: Inet type how to?