You're right... No way; However despite what I said befor it works.. until
text is ''; maybe this could be casted as NULL??
Regards,
On Fri, 2 Jun 2000, Alex Pilosov wrote:
> 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?
> >
> >
>
--
Olivier PRENANT Tel: +33-5-61-50-97-00 (Work)
Quartier d'Harraud Turrou +33-5-61-50-97-01 (Fax)
31190 AUTERIVE +33-6-07-63-80-64 (GSM)
FRANCE Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)