Code review for CREATE OR REPLACE VIEW patch. Do things in a saner order to
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/create_view.sgml | modified | +7 −6 |
| src/backend/commands/tablecmds.c | modified | +15 −14 |
| src/backend/commands/view.c | modified | +25 −17 |
| src/test/regress/expected/create_view.out | modified | +1 −1 |