postgresql/src/backend/commands
Tom Lane 7bae5a289c Get rid of the separate RULE privilege for tables: now only a table's owner
can create or modify rules for the table.  Do setRuleCheckAsUser() while
loading rules into the relcache, rather than when defining a rule.  This
ensures that permission checks for tables referenced in a rule are done with
respect to the current owner of the rule's table, whereas formerly ALTER TABLE
OWNER would fail to update the permission checking for associated rules.
Removal of separate RULE privilege is needed to prevent various scenarios
in which a grantee of RULE privilege could effectively have any privilege
of the table owner.  For backwards compatibility, GRANT/REVOKE RULE is still
accepted, but it doesn't do anything.  Per discussion here:
http://archives.postgresql.org/pgsql-hackers/2006-04/msg01138.php
2006-09-05 21:08:36 +00:00
..
aggregatecmds.c Aggregate functions now support multiple input arguments. I also took 2006-07-27 19:52:07 +00:00
alter.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
analyze.c Now that we've rearranged relation open to get a lock before touching 2006-08-18 16:09:13 +00:00
async.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
cluster.c Now that we've rearranged relation open to get a lock before touching 2006-08-18 16:09:13 +00:00
comment.c Get rid of the separate RULE privilege for tables: now only a table's owner 2006-09-05 21:08:36 +00:00
conversioncmds.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
copy.c Attibution addition: Add Karel Zak also for COPY SELECT. 2006-08-31 03:17:50 +00:00
dbcommands.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
define.c Code review for FILLFACTOR patch. Change WITH grammar as per earlier 2006-07-03 22:45:41 +00:00
explain.c Add support for multi-row VALUES clauses as part of INSERT statements 2006-08-02 01:59:48 +00:00
functioncmds.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
indexcmds.c Add a function GetLockConflicts() to lock.c to report xacts holding 2006-08-27 19:14:34 +00:00
lockcmds.c Now that we've rearranged relation open to get a lock before touching 2006-08-18 16:09:13 +00:00
Makefile Tablespaces. Alternate database locations are dead, long live tablespaces. 2004-06-18 06:14:31 +00:00
opclasscmds.c Mark a few functions as static or NOT_USED. 2006-07-18 17:42:01 +00:00
operatorcmds.c DROP ... IF EXISTS for the following cases: 2006-06-16 20:23:45 +00:00
portalcmds.c Revert FETCH/MOVE int64 patch. Was using incorrect checks for 2006-09-03 03:19:45 +00:00
prepare.c Now bind displays prepare as detail, and execute displays prepare and 2006-08-29 02:11:30 +00:00
proclang.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
schemacmds.c Allow include files to compile own their own. 2006-07-13 16:49:20 +00:00
sequence.c Fix all known problems with pg_dump's handling of serial sequences 2006-08-21 00:57:26 +00:00
tablecmds.c Disallow TRUNCATE when there are any pending after-trigger events for 2006-09-04 21:15:56 +00:00
tablespace.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
trigger.c Disallow TRUNCATE when there are any pending after-trigger events for 2006-09-04 21:15:56 +00:00
typecmds.c Change the relation_open protocol so that we obtain lock on a relation 2006-07-31 20:09:10 +00:00
user.c Allow include files to compile own their own. 2006-07-13 16:49:20 +00:00
vacuum.c Now that we've rearranged relation open to get a lock before touching 2006-08-18 16:09:13 +00:00
vacuumlazy.c Trivial patch to double vacuum speed on tables with no indexes (prevent 2006-09-04 21:40:23 +00:00
variable.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
view.c Fix all known problems with pg_dump's handling of serial sequences 2006-08-21 00:57:26 +00:00