Stephen Frost <[EMAIL PROTECTED]> writes: > It would be useful to have a function which could be passed a relative > (to the caller's search path) object name and would return the fully > qualified name of that object. In this way, functions could be written > which take relative arguments from the user but *only* those explicitly > checked for.
Your example doesn't seem to be doing anything interesting ... am I misunderstanding, or did you omit the actual checking? Also, if the search path is controlled by the function, what good is this --- wouldn't it always result in a trusted schema? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly