Restrict non-superusers to password authenticated connections
authorJoe Conway <mail@joeconway.com>
Mon, 9 Jul 2007 01:32:58 +0000 (01:32 +0000)
committerJoe Conway <mail@joeconway.com>
Mon, 9 Jul 2007 01:32:58 +0000 (01:32 +0000)
commit508c4e84d69e89639d0c53b99bb25359a824a3a4
tree84424e9f4ad84f5da2c4f97a2375c2819f9e5e4b
parent50a1f34c3e1e26f9aa25bd9bc5c5fb7784bb2439
Restrict non-superusers to password authenticated connections
to prevent possible escalation of privilege. Provide new SECURITY
DEFINER functions with old behavior, but initially REVOKE ALL
from public for these functions. Per list discussion and design
proposed by Tom Lane.
contrib/dblink/dblink.c
contrib/dblink/dblink.sql.in
contrib/dblink/doc/connection