Re: [PATCHES] Demo patch for DROP COLUMN

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: [PATCHES] Demo patch for DROP COLUMN
Дата
Msg-id 1027454199.2346.4.camel@rh72.home.ee
обсуждение исходный текст
Ответ на Re: [PATCHES] Demo patch for DROP COLUMN  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCHES] Demo patch for DROP COLUMN  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список 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 по дате отправления:

Предыдущее
От: "Iavor Raytchev"
Дата:
Сообщение: pgaccess 0.98.8 - weekly release 1
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: PITR and rollback