]> granicus.if.org Git - postgresql/commit
sepgsql: Enforce db_procedure:{execute} permission.
authorRobert Haas <rhaas@postgresql.org>
Fri, 12 Apr 2013 12:55:56 +0000 (08:55 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 12 Apr 2013 12:58:01 +0000 (08:58 -0400)
commitf8a54e936bdf4c31b395a2ab7d7bc98eefa6dbad
tree957024396b9375191802c4b9eb5a2ed8e80809fb
parentd017bf41a32d08885f00a274603ed2e50816fe7f
sepgsql: Enforce db_procedure:{execute} permission.

To do this, we add an additional object access hook type,
OAT_FUNCTION_EXECUTE.

KaiGai Kohei
16 files changed:
contrib/sepgsql/expected/label.out
contrib/sepgsql/expected/misc.out
contrib/sepgsql/hooks.c
contrib/sepgsql/label.c
contrib/sepgsql/proc.c
contrib/sepgsql/sepgsql-regtest.te
contrib/sepgsql/sepgsql.h
contrib/sepgsql/sql/label.sql
contrib/sepgsql/sql/misc.sql
doc/src/sgml/sepgsql.sgml
src/backend/catalog/objectaccess.c
src/backend/executor/execQual.c
src/backend/executor/nodeAgg.c
src/backend/executor/nodeWindowAgg.c
src/backend/tcop/fastpath.c
src/include/catalog/objectaccess.h