Skip to content

Commit a5d7ba7

Browse files
committed
Adjust comments previously moved to column 1 by pgident.
1 parent 9da50e1 commit a5d7ba7

File tree

22 files changed

+45
-47
lines changed

22 files changed

+45
-47
lines changed

contrib/dbase/dbf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ dbf_put_record(dbhead * dbh, field * rec, u_long where)
505505
if (write(dbh->db_fd, data, dbh->db_rlen) != dbh->db_rlen)
506506
return DBF_ERROR;
507507

508-
/* There's a 0x1A at the end of a dbf-file */
508+
/* There's a 0x1A at the end of a dbf-file */
509509
if (where == dbh->db_records)
510510
{
511511
if (write(dbh->db_fd, &end, 1) != 1)

contrib/fuzzystrmatch/dmetaphone.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848

4949

5050
/*
51-
* $Revision: 1.3 $
52-
* $Id: dmetaphone.c,v 1.3 2004/08/29 05:06:35 momjian Exp $
51+
* $Revision: 1.4 $
52+
* $Id: dmetaphone.c,v 1.4 2004/10/07 15:21:49 momjian Exp $
5353
*/
5454

5555

@@ -950,7 +950,7 @@ DoubleMetaphone(char *str, char **codes)
950950
current += 2;
951951
}
952952
else
953-
/* also takes care of 'HH' */
953+
/* also takes care of 'HH' */
954954
current += 1;
955955
break;
956956

contrib/intagg/int_aggregate.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ int_enum(PG_FUNCTION_ARGS)
229229
pc->num = 0;
230230
}
231231
else
232-
/* use an existing one */
232+
/* use an existing one */
233233
pc = (CTX *) fcinfo->context;
234234
/* Are we done yet? */
235235
if (pc->num >= pc->p->items)
@@ -242,7 +242,7 @@ int_enum(PG_FUNCTION_ARGS)
242242
rsi->isDone = ExprEndResult;
243243
}
244244
else
245-
/* nope, return the next value */
245+
/* nope, return the next value */
246246
{
247247
int val = pc->p->array[pc->num++];
248248

contrib/spi/refint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ check_foreign_key(PG_FUNCTION_ARGS)
495495

496496
}
497497
else
498-
/* DELETE */
498+
/* DELETE */
499499
snprintf(sql, sizeof(sql), "delete from %s where ", relname);
500500

501501
}

contrib/spi/timetravel.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ timetravel(PG_FUNCTION_ARGS)
233233
/* end of INSERT */
234234
}
235235

236-
/* UPDATE/DELETE: */
236+
/* UPDATE/DELETE: */
237237
oldtimeon = SPI_getbinval(trigtuple, tupdesc, attnum[a_time_on], &isnull);
238238
if (isnull)
239239
elog(ERROR, "timetravel (%s): %s must be NOT NULL", relname, args[a_time_on]);
@@ -402,7 +402,7 @@ timetravel(PG_FUNCTION_ARGS)
402402
/* SPI_pfree(tmptuple); */
403403
}
404404
else
405-
/* DELETE case */
405+
/* DELETE case */
406406
rettuple = trigtuple;
407407

408408
SPI_finish(); /* don't forget say Bye to SPI mgr */

contrib/tablefunc/tablefunc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ normal_rand(PG_FUNCTION_ARGS)
260260
SRF_RETURN_NEXT(funcctx, Float8GetDatum(result));
261261
}
262262
else
263-
/* do when there is no more left */
263+
/* do when there is no more left */
264264
SRF_RETURN_DONE(funcctx);
265265
}
266266

@@ -643,7 +643,7 @@ crosstab(PG_FUNCTION_ARGS)
643643
}
644644
}
645645
else
646-
/* do when there is no more left */
646+
/* do when there is no more left */
647647
{
648648
/* release SPI related resources */
649649
SPI_finish();

contrib/xml2/xslt_proc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ xslt_process(PG_FUNCTION_ARGS)
6565
parse_params(params, paramstr);
6666
}
6767
else
68-
/* No parameters */
68+
/* No parameters */
6969
params[0] = NULL;
7070

7171
/* Setup parser */

src/backend/access/transam/xlog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.170 2004/09/16 16:58:26 tgl Exp $
10+
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.171 2004/10/07 15:21:51 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -4306,7 +4306,7 @@ StartupXLOG(void)
43064306
ereport(FATAL,
43074307
(errmsg("requested recovery stop point is before end time of backup dump")));
43084308
else
4309-
/* ran off end of WAL */
4309+
/* ran off end of WAL */
43104310
ereport(FATAL,
43114311
(errmsg("WAL ends before end time of backup dump")));
43124312
}

src/backend/commands/typecmds.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/commands/typecmds.c,v 1.63 2004/08/29 05:06:41 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/commands/typecmds.c,v 1.64 2004/10/07 15:21:52 momjian Exp $
1212
*
1313
* DESCRIPTION
1414
* The "DefineFoo" routines take the parse tree and pick out the
@@ -1222,7 +1222,7 @@ AlterDomainDefault(List *names, Node *defaultRaw)
12221222
new_record_repl[Anum_pg_type_typdefault - 1] = 'r';
12231223
}
12241224
else
1225-
/* Default is NULL, drop it */
1225+
/* Default is NULL, drop it */
12261226
{
12271227
new_record_nulls[Anum_pg_type_typdefaultbin - 1] = 'n';
12281228
new_record_repl[Anum_pg_type_typdefaultbin - 1] = 'r';

src/backend/optimizer/geqo/geqo_ox2.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* OX2 operator according to Syswerda
77
* (The Genetic Algorithms Handbook, ed L Davis)
88
*
9-
* $PostgreSQL: pgsql/src/backend/optimizer/geqo/geqo_ox2.c,v 1.9 2003/11/29 22:39:49 pgsql Exp $
9+
* $PostgreSQL: pgsql/src/backend/optimizer/geqo/geqo_ox2.c,v 1.10 2004/10/07 15:21:52 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -102,7 +102,7 @@ ox2(Gene *tour1, Gene *tour2, Gene *offspring, int num_gene, City *city_table)
102102
select++; /* next city in the select list */
103103
}
104104
else
105-
/* city isn't used yet, so inherit from tour2 */
105+
/* city isn't used yet, so inherit from tour2 */
106106
offspring[k] = tour2[k];
107107
}
108108

0 commit comments

Comments
 (0)