User: Password:
|
|
Subscribe / Log in / New account

A PostgreSQL flaw

A PostgreSQL flaw

Posted Feb 26, 2007 21:15 UTC (Mon) by schabi (guest, #14079)
In reply to: A PostgreSQL flaw by intgr
Parent article: A PostgreSQL flaw

That's not correct. He needs to define his own function or operator that shadows a function or operator used by the privileged function (by having the same name and signature), then arrange the search path so that his function is found first, and then call the privileged function.

In most cases, it even suffices that he creates the function or operator in his own schema, as - by default - that schema precedes the ones that define the built-in operators and functions.


(Log in to post comments)


Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds