aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/tablecmds.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-01-18 11:05:11 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2019-01-18 11:05:11 -0500
commit9194c4270b28bb19b43a0156e5a296d1a0a3dd48 (patch)
treeffc15a6d52aa1756c5858b45a11c3a28e612fdfc /src/backend/commands/tablecmds.c
parentf04ad77a300ad77cfe1b84e42eff90fd29cb4c4d (diff)
downloadpostgresql-9194c4270b28bb19b43a0156e5a296d1a0a3dd48.tar.gz
postgresql-9194c4270b28bb19b43a0156e5a296d1a0a3dd48.zip
Avoid sometimes printing both tables and their columns in DROP CASCADE.
A cascaded drop might find independent reasons to drop both a table and some column of the table (for instance, a schema drop might include dropping a data type used in some table in the schema). Depending on the order of visitation of pg_depend entries, we might report the table column and the whole table as separate objects-to-be-dropped, or we might only report the table. This is confusing and leads to unstable regression test output, so fix it to report only the table regardless of visitation order. Per gripe from Peter Geoghegan. This is just cosmetic from a user's standpoint, and we haven't actually seen regression test problems in practice (yet), so I'll refrain from back-patching. Discussion: https://postgr.es/m/15908.1547762076@sss.pgh.pa.us
Diffstat (limited to 'src/backend/commands/tablecmds.c')
0 files changed, 0 insertions, 0 deletions