diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/dbase/dbf.c | 2 | ||||
-rw-r--r-- | contrib/fuzzystrmatch/dmetaphone.c | 6 | ||||
-rw-r--r-- | contrib/intagg/int_aggregate.c | 4 | ||||
-rw-r--r-- | contrib/spi/refint.c | 2 | ||||
-rw-r--r-- | contrib/spi/timetravel.c | 4 | ||||
-rw-r--r-- | contrib/tablefunc/tablefunc.c | 4 | ||||
-rw-r--r-- | contrib/xml2/xslt_proc.c | 2 |
7 files changed, 12 insertions, 12 deletions
diff --git a/contrib/dbase/dbf.c b/contrib/dbase/dbf.c index bed75c7fad0..4ecb2b0e5a2 100644 --- a/contrib/dbase/dbf.c +++ b/contrib/dbase/dbf.c @@ -505,7 +505,7 @@ dbf_put_record(dbhead * dbh, field * rec, u_long where) if (write(dbh->db_fd, data, dbh->db_rlen) != dbh->db_rlen) return DBF_ERROR; -/* There's a 0x1A at the end of a dbf-file */ + /* There's a 0x1A at the end of a dbf-file */ if (where == dbh->db_records) { if (write(dbh->db_fd, &end, 1) != 1) diff --git a/contrib/fuzzystrmatch/dmetaphone.c b/contrib/fuzzystrmatch/dmetaphone.c index 331b71df729..3eca0ae317f 100644 --- a/contrib/fuzzystrmatch/dmetaphone.c +++ b/contrib/fuzzystrmatch/dmetaphone.c @@ -48,8 +48,8 @@ /* - * $Revision: 1.3 $ - * $Id: dmetaphone.c,v 1.3 2004/08/29 05:06:35 momjian Exp $ + * $Revision: 1.4 $ + * $Id: dmetaphone.c,v 1.4 2004/10/07 15:21:49 momjian Exp $ */ @@ -950,7 +950,7 @@ DoubleMetaphone(char *str, char **codes) current += 2; } else -/* also takes care of 'HH' */ + /* also takes care of 'HH' */ current += 1; break; diff --git a/contrib/intagg/int_aggregate.c b/contrib/intagg/int_aggregate.c index bd03f5c0c31..78b1a173873 100644 --- a/contrib/intagg/int_aggregate.c +++ b/contrib/intagg/int_aggregate.c @@ -229,7 +229,7 @@ int_enum(PG_FUNCTION_ARGS) pc->num = 0; } else -/* use an existing one */ + /* use an existing one */ pc = (CTX *) fcinfo->context; /* Are we done yet? */ if (pc->num >= pc->p->items) @@ -242,7 +242,7 @@ int_enum(PG_FUNCTION_ARGS) rsi->isDone = ExprEndResult; } else -/* nope, return the next value */ + /* nope, return the next value */ { int val = pc->p->array[pc->num++]; diff --git a/contrib/spi/refint.c b/contrib/spi/refint.c index c409a269cac..bc358f6eb44 100644 --- a/contrib/spi/refint.c +++ b/contrib/spi/refint.c @@ -495,7 +495,7 @@ check_foreign_key(PG_FUNCTION_ARGS) } else -/* DELETE */ + /* DELETE */ snprintf(sql, sizeof(sql), "delete from %s where ", relname); } diff --git a/contrib/spi/timetravel.c b/contrib/spi/timetravel.c index d20b101e7ab..ba4838af659 100644 --- a/contrib/spi/timetravel.c +++ b/contrib/spi/timetravel.c @@ -233,7 +233,7 @@ timetravel(PG_FUNCTION_ARGS) /* end of INSERT */ } -/* UPDATE/DELETE: */ + /* UPDATE/DELETE: */ oldtimeon = SPI_getbinval(trigtuple, tupdesc, attnum[a_time_on], &isnull); if (isnull) elog(ERROR, "timetravel (%s): %s must be NOT NULL", relname, args[a_time_on]); @@ -402,7 +402,7 @@ timetravel(PG_FUNCTION_ARGS) /* SPI_pfree(tmptuple); */ } else -/* DELETE case */ + /* DELETE case */ rettuple = trigtuple; SPI_finish(); /* don't forget say Bye to SPI mgr */ diff --git a/contrib/tablefunc/tablefunc.c b/contrib/tablefunc/tablefunc.c index 063773e91ba..a4c7fb8f16b 100644 --- a/contrib/tablefunc/tablefunc.c +++ b/contrib/tablefunc/tablefunc.c @@ -260,7 +260,7 @@ normal_rand(PG_FUNCTION_ARGS) SRF_RETURN_NEXT(funcctx, Float8GetDatum(result)); } else -/* do when there is no more left */ + /* do when there is no more left */ SRF_RETURN_DONE(funcctx); } @@ -643,7 +643,7 @@ crosstab(PG_FUNCTION_ARGS) } } else -/* do when there is no more left */ + /* do when there is no more left */ { /* release SPI related resources */ SPI_finish(); diff --git a/contrib/xml2/xslt_proc.c b/contrib/xml2/xslt_proc.c index d0b348958d5..7b044a9e8a1 100644 --- a/contrib/xml2/xslt_proc.c +++ b/contrib/xml2/xslt_proc.c @@ -65,7 +65,7 @@ xslt_process(PG_FUNCTION_ARGS) parse_params(params, paramstr); } else -/* No parameters */ + /* No parameters */ params[0] = NULL; /* Setup parser */ |