Re: [HACKERS] regproc fix - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [HACKERS] regproc fix
Date
Msg-id 3614E2A6.14AA49B5@alumni.caltech.edu
Whole thread Raw
In response to regproc fix  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] regproc fix  (Bruce Momjian <maillist@candle.pha.pa.us>)
Re: [HACKERS] regproc fix  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
> One remaining problem is that you have to supply the oid in quotes,
> because regproc has to get a string, not an int.  Perhaps we need
> another regprocin that allows int4 or char*, but I don't think you can
> allow two input functions for a type.
>
> Perhaps we can just leave it.  We also output the proname, even if
> they used the oid as input.

The int4 vs. string issue would be easily solved by having a routine
regproc(int4), which the new type coersion stuff would use
automatically.

                        - Tom

pgsql-hackers by date:

Previous
From: t-ishii@sra.co.jp (Tatsuo Ishii)
Date:
Subject: Re: [HACKERS] delete from ..;vacuum crashes
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] delete from ..;vacuum crashes