mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
pgindent run for 9.4
This includes removing tabs after periods in C comments, which was applied to back branches, so this change should not effect backpatching.
This commit is contained in:
@ -202,7 +202,7 @@ DefineRule(RuleStmt *stmt, const char *queryString)
|
||||
transformRuleStmt(stmt, queryString, &actions, &whereClause);
|
||||
|
||||
/*
|
||||
* Find and lock the relation. Lock level should match
|
||||
* Find and lock the relation. Lock level should match
|
||||
* DefineQueryRewrite.
|
||||
*/
|
||||
relId = RangeVarGetRelid(stmt->relation, AccessExclusiveLock, false);
|
||||
@ -357,7 +357,7 @@ DefineQueryRewrite(char *rulename,
|
||||
RelationGetDescr(event_relation),
|
||||
true,
|
||||
event_relation->rd_rel->relkind !=
|
||||
RELKIND_MATVIEW);
|
||||
RELKIND_MATVIEW);
|
||||
|
||||
/*
|
||||
* ... there must not be another ON SELECT rule already ...
|
||||
@ -409,7 +409,7 @@ DefineQueryRewrite(char *rulename,
|
||||
*
|
||||
* If so, check that the relation is empty because the storage for the
|
||||
* relation is going to be deleted. Also insist that the rel not have
|
||||
* any triggers, indexes, or child tables. (Note: these tests are too
|
||||
* any triggers, indexes, or child tables. (Note: these tests are too
|
||||
* strict, because they will reject relations that once had such but
|
||||
* don't anymore. But we don't really care, because this whole
|
||||
* business of converting relations to views is just a kluge to allow
|
||||
@ -712,7 +712,7 @@ checkRuleResultList(List *targetList, TupleDesc resultDesc, bool isSelect,
|
||||
* Note: for a view (ON SELECT rule), the checkAsUser field of the OLD
|
||||
* RTE entry will be overridden when the view rule is expanded, and the
|
||||
* checkAsUser field of the NEW entry is irrelevant because that entry's
|
||||
* requiredPerms bits will always be zero. However, for other types of rules
|
||||
* requiredPerms bits will always be zero. However, for other types of rules
|
||||
* it's important to set these fields to match the rule owner. So we just set
|
||||
* them always.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user