mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Small comment spacing improvement.
This commit is contained in:
@ -41,7 +41,7 @@
|
|||||||
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $PostgreSQL: pgsql/src/backend/access/transam/slru.c,v 1.42 2007/11/15 23:23:44 momjian Exp $
|
* $PostgreSQL: pgsql/src/backend/access/transam/slru.c,v 1.43 2007/11/16 01:51:22 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -339,7 +339,7 @@ SimpleLruWaitIO(SlruCtl ctl, int slotno)
|
|||||||
/* indeed, the I/O must have failed */
|
/* indeed, the I/O must have failed */
|
||||||
if (shared->page_status[slotno] == SLRU_PAGE_READ_IN_PROGRESS)
|
if (shared->page_status[slotno] == SLRU_PAGE_READ_IN_PROGRESS)
|
||||||
shared->page_status[slotno] = SLRU_PAGE_EMPTY;
|
shared->page_status[slotno] = SLRU_PAGE_EMPTY;
|
||||||
else /* write_in_progress */
|
else /* write_in_progress */
|
||||||
{
|
{
|
||||||
shared->page_status[slotno] = SLRU_PAGE_VALID;
|
shared->page_status[slotno] = SLRU_PAGE_VALID;
|
||||||
shared->page_dirty[slotno] = true;
|
shared->page_dirty[slotno] = true;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/commands/trigger.c,v 1.223 2007/11/15 23:23:44 momjian Exp $
|
* $PostgreSQL: pgsql/src/backend/commands/trigger.c,v 1.224 2007/11/16 01:51:22 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -1638,7 +1638,7 @@ ExecBSInsertTriggers(EState *estate, ResultRelInfo *relinfo)
|
|||||||
trigger->tgenabled == TRIGGER_DISABLED)
|
trigger->tgenabled == TRIGGER_DISABLED)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else /* ORIGIN or LOCAL role */
|
else /* ORIGIN or LOCAL role */
|
||||||
{
|
{
|
||||||
if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
|
if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
|
||||||
trigger->tgenabled == TRIGGER_DISABLED)
|
trigger->tgenabled == TRIGGER_DISABLED)
|
||||||
@ -1697,7 +1697,7 @@ ExecBRInsertTriggers(EState *estate, ResultRelInfo *relinfo,
|
|||||||
trigger->tgenabled == TRIGGER_DISABLED)
|
trigger->tgenabled == TRIGGER_DISABLED)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else /* ORIGIN or LOCAL role */
|
else /* ORIGIN or LOCAL role */
|
||||||
{
|
{
|
||||||
if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
|
if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
|
||||||
trigger->tgenabled == TRIGGER_DISABLED)
|
trigger->tgenabled == TRIGGER_DISABLED)
|
||||||
@ -1769,7 +1769,7 @@ ExecBSDeleteTriggers(EState *estate, ResultRelInfo *relinfo)
|
|||||||
trigger->tgenabled == TRIGGER_DISABLED)
|
trigger->tgenabled == TRIGGER_DISABLED)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else /* ORIGIN or LOCAL role */
|
else /* ORIGIN or LOCAL role */
|
||||||
{
|
{
|
||||||
if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
|
if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
|
||||||
trigger->tgenabled == TRIGGER_DISABLED)
|
trigger->tgenabled == TRIGGER_DISABLED)
|
||||||
@ -1835,7 +1835,7 @@ ExecBRDeleteTriggers(EState *estate, ResultRelInfo *relinfo,
|
|||||||
trigger->tgenabled == TRIGGER_DISABLED)
|
trigger->tgenabled == TRIGGER_DISABLED)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else /* ORIGIN or LOCAL role */
|
else /* ORIGIN or LOCAL role */
|
||||||
{
|
{
|
||||||
if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
|
if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
|
||||||
trigger->tgenabled == TRIGGER_DISABLED)
|
trigger->tgenabled == TRIGGER_DISABLED)
|
||||||
@ -1920,7 +1920,7 @@ ExecBSUpdateTriggers(EState *estate, ResultRelInfo *relinfo)
|
|||||||
trigger->tgenabled == TRIGGER_DISABLED)
|
trigger->tgenabled == TRIGGER_DISABLED)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else /* ORIGIN or LOCAL role */
|
else /* ORIGIN or LOCAL role */
|
||||||
{
|
{
|
||||||
if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
|
if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
|
||||||
trigger->tgenabled == TRIGGER_DISABLED)
|
trigger->tgenabled == TRIGGER_DISABLED)
|
||||||
@ -1991,7 +1991,7 @@ ExecBRUpdateTriggers(EState *estate, ResultRelInfo *relinfo,
|
|||||||
trigger->tgenabled == TRIGGER_DISABLED)
|
trigger->tgenabled == TRIGGER_DISABLED)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else /* ORIGIN or LOCAL role */
|
else /* ORIGIN or LOCAL role */
|
||||||
{
|
{
|
||||||
if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
|
if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
|
||||||
trigger->tgenabled == TRIGGER_DISABLED)
|
trigger->tgenabled == TRIGGER_DISABLED)
|
||||||
@ -3616,7 +3616,7 @@ AfterTriggerSaveEvent(ResultRelInfo *relinfo, int event, bool row_trigger,
|
|||||||
trigger->tgenabled == TRIGGER_DISABLED)
|
trigger->tgenabled == TRIGGER_DISABLED)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else /* ORIGIN or LOCAL role */
|
else /* ORIGIN or LOCAL role */
|
||||||
{
|
{
|
||||||
if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
|
if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
|
||||||
trigger->tgenabled == TRIGGER_DISABLED)
|
trigger->tgenabled == TRIGGER_DISABLED)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/rewrite/rewriteHandler.c,v 1.175 2007/11/15 23:23:44 momjian Exp $
|
* $PostgreSQL: pgsql/src/backend/rewrite/rewriteHandler.c,v 1.176 2007/11/16 01:51:22 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -1051,7 +1051,7 @@ matchLocks(CmdType event,
|
|||||||
oneLock->enabled == RULE_DISABLED)
|
oneLock->enabled == RULE_DISABLED)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else /* ORIGIN or LOCAL ROLE */
|
else /* ORIGIN or LOCAL ROLE */
|
||||||
{
|
{
|
||||||
if (oneLock->enabled == RULE_FIRES_ON_REPLICA ||
|
if (oneLock->enabled == RULE_FIRES_ON_REPLICA ||
|
||||||
oneLock->enabled == RULE_DISABLED)
|
oneLock->enabled == RULE_DISABLED)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/utils/adt/tsvector_op.c,v 1.8 2007/11/15 23:23:44 momjian Exp $
|
* $PostgreSQL: pgsql/src/backend/utils/adt/tsvector_op.c,v 1.9 2007/11/16 01:51:22 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -415,7 +415,7 @@ tsvector_concat(PG_FUNCTION_ARGS)
|
|||||||
if (ptr2->haspos)
|
if (ptr2->haspos)
|
||||||
dataoff += add_pos(in2, ptr2, out, ptr, maxpos) * sizeof(WordEntryPos);
|
dataoff += add_pos(in2, ptr2, out, ptr, maxpos) * sizeof(WordEntryPos);
|
||||||
}
|
}
|
||||||
else /* must have ptr2->haspos */
|
else /* must have ptr2->haspos */
|
||||||
{
|
{
|
||||||
int addlen = add_pos(in2, ptr2, out, ptr, maxpos);
|
int addlen = add_pos(in2, ptr2, out, ptr, maxpos);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user