git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 766948b) | patch
Check for INSERT privileges in SELECT INTO / CREATE TABLE AS.
2011年11月22日 21:16:26 +0000 (16:16 -0500)
2011年11月22日 21:16:26 +0000 (16:16 -0500)
commit f1b4aa2a84732255bd8a34fc9c7994a04409b77a
Check for INSERT privileges in SELECT INTO / CREATE TABLE AS.

In the normal course of events, this matters only if ALTER DEFAULT
PRIVILEGES has been used to revoke default INSERT permission. Whether
or not the new behavior is more or less likely to be what the user wants
when dealing only with the built-in privilege facilities is arguable,
but it's clearly better when using a loadable module such as sepgsql
that may use the hook in ExecCheckRTPerms to enforce additional
permissions checks.

KaiGai Kohei, reviewed by Albe Laurenz
src/backend/executor/execMain.c diff | blob | blame | history
src/test/regress/expected/select_into.out diff | blob | blame | history
src/test/regress/sql/select_into.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /