diff options
author | Bruce Momjian <bruce@momjian.us> | 2001-11-05 17:46:40 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2001-11-05 17:46:40 +0000 |
commit | ea08e6cd5542cb269ecd3e735f1dfa3bb61fbc4f (patch) | |
tree | bf6b60c08be3ddf5a40e110e8276dc2d45b1431c /src/backend/parser/analyze.c | |
parent | 34153b205265e2e831c1e3ee02be0fc88fa41710 (diff) |
New pgindent run with fixes suggested by Tom. Patch manually reviewed,
initdb/regression tests pass.
Diffstat (limited to 'src/backend/parser/analyze.c')
-rw-r--r-- | src/backend/parser/analyze.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/parser/analyze.c b/src/backend/parser/analyze.c index 40e9700f024..104e1ab3ba2 100644 --- a/src/backend/parser/analyze.c +++ b/src/backend/parser/analyze.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.210 2001/11/05 05:00:14 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.211 2001/11/05 17:46:26 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -504,8 +504,8 @@ transformInsertStmt(ParseState *pstate, InsertStmt *stmt) } /* - * XXX It is possible that the targetlist has fewer entries than were in - * the columns list. We do not consider this an error. Perhaps we + * XXX It is possible that the targetlist has fewer entries than were + * in the columns list. We do not consider this an error. Perhaps we * should, if the columns list was explicitly given? */ @@ -1241,7 +1241,7 @@ transformIndexConstraints(ParseState *pstate, CreateStmtContext *cxt) elog(NOTICE, "%s / %s%s will create implicit index '%s' for table '%s'", cxt->stmtType, - (strcmp(cxt->stmtType,"ALTER TABLE") == 0) ? "ADD " : "", + (strcmp(cxt->stmtType, "ALTER TABLE") == 0) ? "ADD " : "", (index->primary ? "PRIMARY KEY" : "UNIQUE"), index->idxname, cxt->relname); } @@ -2393,12 +2393,12 @@ static void applyColumnNames(List *dst, List *src) { if (length(src) > length(dst)) - elog(ERROR,"CREATE TABLE AS specifies too many column names"); + elog(ERROR, "CREATE TABLE AS specifies too many column names"); while (src != NIL && dst != NIL) { TargetEntry *d = (TargetEntry *) lfirst(dst); - ColumnDef *s = (ColumnDef *) lfirst(src); + ColumnDef *s = (ColumnDef *) lfirst(src); Assert(d->resdom && !d->resdom->resjunk); |