Re: [PATCHES] Non-colliding auto generated names - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: [PATCHES] Non-colliding auto generated names
Date
Msg-id 028201c2e384$ca0b1f70$6500a8c0@fhp.internal
Whole thread Raw
In response to Re: [PATCHES] Non-colliding auto generated names  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [PATCHES] Non-colliding auto generated names
List pgsql-hackers
> I think we should stick with the existing naming convention.  The only
> actual problem that's been pointed out here is that an ALTER TABLE
> (or COLUMN) RENAME on a serial column doesn't update the sequence name
> to match.  Seems to me we could fix that with less effort than any of
> these solutions would take, and it wouldn't break existing applications.

Non-colliding?  Otherwise, it'd be ludicrous to fail a table rename because
a sequence with the new name already exists...

Chris



pgsql-hackers by date:

Previous
From: "Bob Calco"
Date:
Subject: Re: XML ouput for psql
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] Non-colliding auto generated names