Re: Slightly inconsistent behaviour in regproc?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Slightly inconsistent behaviour in regproc?
Date: 2003-10-28 14:40:15
Message-ID: 21924.1067352015@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
> Basically, my question is why ::regproc alone always addes the catalogue
> qualification in this case?

regproc adds the schema if the name would be ambiguous without it (or
not visible at all). In these cases, the function name is still
ambiguous with the schema :-( ... but there's nothing regproc can do
about that, since it's not chartered to emit function arguments.
Use regprocedure instead if you don't want to see schema names.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-10-28 15:01:13 Re: Open items
Previous Message Christoph Haller 2003-10-28 14:21:02 Re: An interisting conundrum where tables have a column called "found"