Re: Ok, how do I debug THIS?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>, josh(at)agliodbs(dot)com, pgsql-sql(at)postgresql(dot)org
Subject: Re: Ok, how do I debug THIS?
Date: 2003-05-13 20:21:39
Message-ID: 28980.1052857299@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Larry Rosenman <ler(at)lerctr(dot)org> writes:
>> Ugh. cidr doesn't appear to cast to text. You may be able to go through
>> inet, but I'm not really sure because I haven't really used those types.

> looks like I can, **BUT** is this the RIGHT thing? I suspect it SHOULD
> cast to text. IMNSHO.

Probably. We have an inet->text cast, and the same function would work
for cidr->text. I think it's just an oversight that there's no such
entry in pg_cast. You could add one by hand ...

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Larry Rosenman 2003-05-13 20:31:13 Re: Ok, how do I debug THIS?
Previous Message Larry Rosenman 2003-05-13 20:13:21 Re: Ok, how do I debug THIS?