Re: CAST(ipaddress as text) -- HOW?

From: Bhuvan A <bhuvansql(at)yahoo(dot)com>
To: omid omoomi <oomoomi(at)hotmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: CAST(ipaddress as text) -- HOW?
Date: 2001-07-18 09:23:04
Message-ID: Pine.LNX.4.20.0107181451180.13538-100000@Larry.bks
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


hi,

ipaddress::text

is resulting in

ERROR: Cannot cast type 'cidr' to 'text'

how else we can???

Thankx.

On Tue, 17 Jul 2001, omid omoomi wrote:

> ie,
> ipaddrss::text
>
> >From: Bhuvan A <bhuvansql(at)yahoo(dot)com>
> >To: pgsql-sql(at)postgresql(dot)org
> >Subject: [SQL] CAST(ipaddress as text) -- HOW?
> >Date: Tue, 17 Jul 2001 19:35:53 +0530 (IST)
> >
> >
> >hi all,
> >
> >how can we cast an ipaddress(type cidr) to any other type?
> >
> >thankx in advance..
> >
> >
> >Regards,
> >
> >Bhuvaneswar.
> >
> >
> >---------------------------(end of broadcast)---------------------------
> >TIP 3: if posting/reading through Usenet, please send an appropriate
> >subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> >message can get through to the mailing list cleanly
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>

Browse pgsql-sql by date

  From Date Subject
Next Message Jan Wieck 2001-07-18 10:54:34 Re: SPI_exec does not return!
Previous Message Markus Wagner 2001-07-18 08:10:03 SPI_exec does not return!