mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +03:00
Run pgindent on 9.2 source tree in preparation for first 9.3
commit-fest.
This commit is contained in:
@@ -200,7 +200,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);
|
||||
|
@@ -168,8 +168,8 @@ get_rewrite_oid_without_relid(const char *rulename,
|
||||
if (HeapTupleIsValid(htup))
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_DUPLICATE_OBJECT),
|
||||
errmsg("there are multiple rules named \"%s\"", rulename),
|
||||
errhint("Specify a relation name as well as a rule name.")));
|
||||
errmsg("there are multiple rules named \"%s\"", rulename),
|
||||
errhint("Specify a relation name as well as a rule name.")));
|
||||
}
|
||||
heap_endscan(scanDesc);
|
||||
heap_close(RewriteRelation, AccessShareLock);
|
||||
|
Reference in New Issue
Block a user