Re: [PATCHES] Demo patch for DROP COLUMN - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: [PATCHES] Demo patch for DROP COLUMN
Date
Msg-id 1027454199.2346.4.camel@rh72.home.ee
Whole thread Raw
In response to Re: [PATCHES] Demo patch for DROP COLUMN  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCHES] Demo patch for DROP COLUMN
List pgsql-hackers
On Tue, 2002-07-23 at 20:42, Tom Lane wrote:
> "Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> >> But you *didn't* make sure it would never be a problem.
> 
> > Wasn't I looping until I found a unique name?
> 
> My point was that there could still be a conflict against a user column
> that the user tries to create *later*.  So it's illusory to think that
> making the name of a dropped column less predictable will improve
> matters.

The simple (to describe, perhaps not to implement ;) way to resolve it
would be for the ADD COLUMN (or CREATE TABLE INHERITS) rename the
offending deleted column once more.

--------------
Hannu


pgsql-hackers by date:

Previous
From: "Iavor Raytchev"
Date:
Subject: pgaccess 0.98.8 - weekly release 1
Next
From: Bruce Momjian
Date:
Subject: Re: PITR and rollback