Department of second thoughts: make checks for replacing a view slightly
Tom Lane <tgl@sss.pgh.pa.us>
Department of second thoughts: make checks for replacing a view slightly more flexible, and improve the error reporting. Also, add documentation for REPLACE RULE/VIEW.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/create_rule.sgml | modified | +16 −9 |
| doc/src/sgml/ref/create_view.sgml | modified | +18 −3 |
| doc/src/sgml/release.sgml | modified | +2 −1 |
| src/backend/commands/view.c | modified | +45 −8 |
| src/test/regress/expected/create_view.out | modified | +3 −3 |