Re: pgsql/src backend/catalog/dependency.c backend ... - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql/src backend/catalog/dependency.c backend ...
Date
Msg-id 28503.1026792305@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql/src backend/catalog/dependency.c backend ...  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Responses Re: pgsql/src backend/catalog/dependency.c backend ...
List pgsql-committers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> Does this mean I no longer have to worry about removing the column default
> when dropping a column?

It'll happen for free if you do the DROP properly, ie, through
performDeletion.  Fairly shortly, constraints, indexes, and so forth
that depend on the column will also go away automatically.

            regards, tom lane

pgsql-committers by date:

Previous
From: momjian@postgresql.org (Bruce Momjian - CVS)
Date:
Subject: pgsql/ oc/src/sgml/datatype.sgml rc/backend/ut ...
Next
From: "Christopher Kings-Lynne"
Date:
Subject: Re: pgsql/src backend/catalog/dependency.c backend ...