Chapman Flack <c...@anastigmatix.net> writes:
> The manual says regproc "will display schema-qualified names on output
> if the object would not be found in the current search path without
> being qualified."
That's less than the full truth :-(
> Is regproc displaying the schema in this case because there are two
> overloaded flavors of ginarrayextract, though both are in pg_catalog?
Yes, see the test in regprocout:
* Would this proc be found (uniquely!) by regprocin? If not,
* qualify it.
Of course, in a situation like this, schema-qualification is not enough to
save the day; regprocin will still fail because the name is ambiguous.
You really need to use regprocedure not regproc if you want any guarantees
about the results.
(The fact that we have regproc at all is a bit of a historical accident,
caused by some limitations of the bootstrap mode.)
regards, tom lane
Sent via pgsql-hackers mailing list (firstname.lastname@example.org)
To make changes to your subscription: