Re: Inet type how to?

From: Alex Pilosov <alex(at)pilosoft(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Alex Pilosov <alex(at)pilosoft(dot)com>, Olivier PRENANT <ohp(at)pyrenet(dot)fr>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Inet type how to?
Date: 2000-06-02 20:36:43
Message-ID: Pine.BSO.4.10.10006021635540.8307-100000@spider.pilosoft.com
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.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-06-02 20:38:30 Re: Inet type how to?
Previous Message Bruce Momjian 2000-06-02 20:32:07 Re: Inet type how to?