Improve reporting of dependencies in DROP to work like the scheme that we
Tom Lane <tgl@sss.pgh.pa.us>
Improve reporting of dependencies in DROP to work like the scheme that we devised for pg_shdepend, namely the individual dependencies are reported as DETAIL lines rather than coming out as separate NOTICEs. The client-side report is capped at 100 lines, but the server log always gets a full report.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/dependency.c | modified | +109 −10 |
| src/test/regress/expected/alter_table.out | modified | +9 −7 |
| src/test/regress/expected/create_view.out | modified | +40 −38 |
| src/test/regress/expected/domain.out | modified | +7 −5 |
| src/test/regress/expected/foreign_key.out | modified | +11 −10 |
| src/test/regress/expected/inherit.out | modified | +7 −5 |
| src/test/regress/expected/namespace.out | modified | +3 −2 |
| src/test/regress/expected/sequence.out | modified | +2 −2 |
| src/test/regress/expected/truncate.out | modified | +6 −4 |
| src/test/regress/output/tablespace.source | modified | +5 −4 |