Re: [Review] Tests citext casts by David Wheeler.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
Cc: Ryan Bradetich <rbradetich(at)gmail(dot)com>, pgsql-hackers Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [Review] Tests citext casts by David Wheeler.
Date: 2008-09-12 17:58:43
Message-ID: 12138.1221242323@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"David E. Wheeler" <david(at)kineticode(dot)com> writes:
> 1. Did I neglect to include the documentation patch? I've attached it
> here. It's necessary because of the addition of the new functions.

Maybe it got left out of the later patch iterations? Anyway,
will take care of it.

> 2. Many thanks for switching to using the network_show function
> instead of the SQL-based casting I had. Can you tell me how to go
> about finding such functions?

Er, look into pg_cast and then pg_proc? For instance

select oid::regprocedure, prosrc from pg_proc
where oid in (select castfunc from pg_cast);

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2008-09-12 18:06:42 Re: [Review] Tests citext casts by David Wheeler.
Previous Message David Fetter 2008-09-12 17:21:25 Re: [patch] fix dblink security hole