1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Adjust comments previously moved to column 1 by pgident.

This commit is contained in:
Bruce Momjian
2004-10-07 15:21:58 +00:00
parent 9da50e1f53
commit a5d7ba773d
22 changed files with 45 additions and 47 deletions

View File

@ -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)

View File

@ -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;

View File

@ -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++];

View File

@ -495,7 +495,7 @@ check_foreign_key(PG_FUNCTION_ARGS)
}
else
/* DELETE */
/* DELETE */
snprintf(sql, sizeof(sql), "delete from %s where ", relname);
}

View File

@ -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 */

View File

@ -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();

View File

@ -65,7 +65,7 @@ xslt_process(PG_FUNCTION_ARGS)
parse_params(params, paramstr);
}
else
/* No parameters */
/* No parameters */
params[0] = NULL;
/* Setup parser */