diff options
| author | Bruce Momjian <bruce@momjian.us> | 2007-11-15 21:14:46 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2007-11-15 21:14:46 +0000 |
| commit | fdf5a5efb7b28c13085fe7313658de8d7b9914f6 (patch) | |
| tree | a75cf1422fa1eef4e801cf502b148d8ce1b5dfe7 /src/backend/commands/view.c | |
| parent | 3adc760fb92eab1a8720337a8bf9b66486609eb3 (diff) | |
| download | postgresql-fdf5a5efb7b28c13085fe7313658de8d7b9914f6.tar.gz | |
pgindent run for 8.3.
Diffstat (limited to 'src/backend/commands/view.c')
| -rw-r--r-- | src/backend/commands/view.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/backend/commands/view.c b/src/backend/commands/view.c index a6ef94dcef..810d70b37f 100644 --- a/src/backend/commands/view.c +++ b/src/backend/commands/view.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/commands/view.c,v 1.102 2007/08/27 03:36:08 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/commands/view.c,v 1.103 2007/11/15 21:14:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -273,6 +273,7 @@ DefineViewRules(Oid viewOid, Query *viewParse, bool replace) true, replace, list_make1(viewParse)); + /* * Someday: automatic ON INSERT, etc */ @@ -356,8 +357,8 @@ DefineView(ViewStmt *stmt, const char *queryString) RangeVar *view; /* - * Run parse analysis to convert the raw parse tree to a Query. Note - * this also acquires sufficient locks on the source table(s). + * Run parse analysis to convert the raw parse tree to a Query. Note this + * also acquires sufficient locks on the source table(s). * * Since parse analysis scribbles on its input, copy the raw parse tree; * this ensures we don't corrupt a prepared statement, for example. @@ -404,14 +405,14 @@ DefineView(ViewStmt *stmt, const char *queryString) /* * If the user didn't explicitly ask for a temporary view, check whether - * we need one implicitly. We allow TEMP to be inserted automatically - * as long as the CREATE command is consistent with that --- no explicit + * we need one implicitly. We allow TEMP to be inserted automatically as + * long as the CREATE command is consistent with that --- no explicit * schema name. */ view = stmt->view; if (!view->istemp && isViewOnTempTable(viewParse)) { - view = copyObject(view); /* don't corrupt original command */ + view = copyObject(view); /* don't corrupt original command */ view->istemp = true; ereport(NOTICE, (errmsg("view \"%s\" will be a temporary view", |
