mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
pgindent run for 8.3.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/rewrite/rewriteDefine.c,v 1.122 2007/08/27 03:36:08 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/rewrite/rewriteDefine.c,v 1.123 2007/11/15 21:14:37 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -671,16 +671,16 @@ EnableDisableRule(Relation rel, const char *rulename,
|
||||
Assert(eventRelationOid == owningRel);
|
||||
if (!pg_class_ownercheck(eventRelationOid, GetUserId()))
|
||||
aclcheck_error(ACLCHECK_NOT_OWNER, ACL_KIND_CLASS,
|
||||
get_rel_name(eventRelationOid));
|
||||
|
||||
get_rel_name(eventRelationOid));
|
||||
|
||||
/*
|
||||
* Change ev_enabled if it is different from the desired new state.
|
||||
*/
|
||||
if (DatumGetChar(((Form_pg_rewrite) GETSTRUCT(ruletup))->ev_enabled) !=
|
||||
fires_when)
|
||||
{
|
||||
fires_when)
|
||||
{
|
||||
((Form_pg_rewrite) GETSTRUCT(ruletup))->ev_enabled =
|
||||
CharGetDatum(fires_when);
|
||||
CharGetDatum(fires_when);
|
||||
simple_heap_update(pg_rewrite_desc, &ruletup->t_self, ruletup);
|
||||
|
||||
/* keep system catalog indexes current */
|
||||
|
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/rewrite/rewriteManip.c,v 1.105 2007/09/06 17:31:58 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/rewrite/rewriteManip.c,v 1.106 2007/11/15 21:14:37 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -975,14 +975,14 @@ ResolveNew_mutator(Node *node, ResolveNew_context *context)
|
||||
context->sublevels_up == 0)
|
||||
{
|
||||
/*
|
||||
* We get here if a WHERE CURRENT OF expression turns out to
|
||||
* apply to a view. Someday we might be able to translate
|
||||
* the expression to apply to an underlying table of the view,
|
||||
* but right now it's not implemented.
|
||||
* We get here if a WHERE CURRENT OF expression turns out to apply
|
||||
* to a view. Someday we might be able to translate the
|
||||
* expression to apply to an underlying table of the view, but
|
||||
* right now it's not implemented.
|
||||
*/
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||
errmsg("WHERE CURRENT OF on a view is not implemented")));
|
||||
errmsg("WHERE CURRENT OF on a view is not implemented")));
|
||||
}
|
||||
/* otherwise fall through to copy the expr normally */
|
||||
}
|
||||
|
Reference in New Issue
Block a user