]> granicus.if.org Git - postgresql/commitdiff
Small comment spacing improvement.
authorBruce Momjian <bruce@momjian.us>
Fri, 16 Nov 2007 01:51:22 +0000 (01:51 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 16 Nov 2007 01:51:22 +0000 (01:51 +0000)
src/backend/access/transam/slru.c
src/backend/commands/trigger.c
src/backend/rewrite/rewriteHandler.c
src/backend/utils/adt/tsvector_op.c

index 64ae834e3e6fe1b465c1fafc53719d1850380d13..2ee1ecb061189588f37fef03409eb65b5fee2328 100644 (file)
@@ -41,7 +41,7 @@
  * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
  * 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 */
                        if (shared->page_status[slotno] == SLRU_PAGE_READ_IN_PROGRESS)
                                shared->page_status[slotno] = SLRU_PAGE_EMPTY;
-                       else    /*  write_in_progress */
+                       else    /* write_in_progress */
                        {
                                shared->page_status[slotno] = SLRU_PAGE_VALID;
                                shared->page_dirty[slotno] = true;
index 30f68d9094cc9fd4ffe4e048ecfe2de09c408e99..7dc195053426d12ad1cc95d809c5c741a7e89d6b 100644 (file)
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  * 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)
                                continue;
                }
-               else    /*  ORIGIN or LOCAL role */
+               else    /* ORIGIN or LOCAL role */
                {
                        if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
                                trigger->tgenabled == TRIGGER_DISABLED)
@@ -1697,7 +1697,7 @@ ExecBRInsertTriggers(EState *estate, ResultRelInfo *relinfo,
                                trigger->tgenabled == TRIGGER_DISABLED)
                                continue;
                }
-               else    /*  ORIGIN or LOCAL role */
+               else    /* ORIGIN or LOCAL role */
                {
                        if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
                                trigger->tgenabled == TRIGGER_DISABLED)
@@ -1769,7 +1769,7 @@ ExecBSDeleteTriggers(EState *estate, ResultRelInfo *relinfo)
                                trigger->tgenabled == TRIGGER_DISABLED)
                                continue;
                }
-               else    /*  ORIGIN or LOCAL role */
+               else    /* ORIGIN or LOCAL role */
                {
                        if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
                                trigger->tgenabled == TRIGGER_DISABLED)
@@ -1835,7 +1835,7 @@ ExecBRDeleteTriggers(EState *estate, ResultRelInfo *relinfo,
                                trigger->tgenabled == TRIGGER_DISABLED)
                                continue;
                }
-               else    /*  ORIGIN or LOCAL role */
+               else    /* ORIGIN or LOCAL role */
                {
                        if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
                                trigger->tgenabled == TRIGGER_DISABLED)
@@ -1920,7 +1920,7 @@ ExecBSUpdateTriggers(EState *estate, ResultRelInfo *relinfo)
                                trigger->tgenabled == TRIGGER_DISABLED)
                                continue;
                }
-               else    /*  ORIGIN or LOCAL role */
+               else    /* ORIGIN or LOCAL role */
                {
                        if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
                                trigger->tgenabled == TRIGGER_DISABLED)
@@ -1991,7 +1991,7 @@ ExecBRUpdateTriggers(EState *estate, ResultRelInfo *relinfo,
                                trigger->tgenabled == TRIGGER_DISABLED)
                                continue;
                }
-               else    /*  ORIGIN or LOCAL role */
+               else    /* ORIGIN or LOCAL role */
                {
                        if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
                                trigger->tgenabled == TRIGGER_DISABLED)
@@ -3616,7 +3616,7 @@ AfterTriggerSaveEvent(ResultRelInfo *relinfo, int event, bool row_trigger,
                                trigger->tgenabled == TRIGGER_DISABLED)
                                continue;
                }
-               else    /*  ORIGIN or LOCAL role */
+               else    /* ORIGIN or LOCAL role */
                {
                        if (trigger->tgenabled == TRIGGER_FIRES_ON_REPLICA ||
                                trigger->tgenabled == TRIGGER_DISABLED)
index bbd1a7f92fefe058cb7514cef6f3241c0276b63c..b965387c74074e6cedc0461e6ec2bfcaadf3c48c 100644 (file)
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  * 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)
                                        continue;
                        }
-                       else    /*  ORIGIN or LOCAL ROLE */
+                       else    /* ORIGIN or LOCAL ROLE */
                        {
                                if (oneLock->enabled == RULE_FIRES_ON_REPLICA ||
                                        oneLock->enabled == RULE_DISABLED)
index 03e396beaa8742b5d5ce3f1ee7d8c9964f360bba..87694236238977521fc792a520c5271cd4f73861 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * 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)
                                                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);