diff options
| author | Tom Lane | 2008-12-15 21:35:31 +0000 |
|---|---|---|
| committer | Tom Lane | 2008-12-15 21:35:31 +0000 |
| commit | 4da65a23e7d8821b8eff8075add93caef471d4f8 (patch) | |
| tree | 5c955096a8e9439221b3c9bef264207261dda0da /src/test | |
| parent | 78b25fd2e9d7bc82774c1f518c5851ef7a83ded1 (diff) | |
Code review for CREATE OR REPLACE VIEW patch. Do things in a saner order to
result in hopefully-less-confusing error messages when the new definition
isn't compatible with the old; minor other cleanup.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/regress/expected/create_view.out | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/regress/expected/create_view.out b/src/test/regress/expected/create_view.out index e9b6c83e25d..90e6c70e572 100644 --- a/src/test/regress/expected/create_view.out +++ b/src/test/regress/expected/create_view.out @@ -53,7 +53,7 @@ ERROR: cannot drop columns from view -- should fail CREATE OR REPLACE VIEW viewtest AS SELECT 1, * FROM viewtest_tbl; -ERROR: column "b" of relation "viewtest" already exists +ERROR: cannot change name of view column "a" -- should fail CREATE OR REPLACE VIEW viewtest AS SELECT a, b::numeric FROM viewtest_tbl; |
