Re: [HACKERS] Happy column dropping

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Happy column dropping
Дата
Msg-id 200001230426.XAA06789@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Happy column dropping  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [HACKERS] Happy column dropping  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> [Charset ISO-8859-1 unsupported, filtering to ASCII...]
> > With caveats, it is now possible to drop columns from tables.
> > 
> > The implementation is based on copying the old table to a new one minus
> > the specified column. This procedure changes the oids of everyone
> > involved, so I was wondering if
> > a) this is a good reason to tell people to stop using oids as keys, or
> > b) if there is some way to keep the oids on both the records and the
> > pg_class entry.
> 
> Actually CLUSTER has the same problem, I think.  It may be even worse
> because it drops all indexes.  Can you take a look at that code too. 
> Some people have reported problems with it, while others are OK.  There
> is a cluster TODO mail file in the source tree.  It shows an actual bug
> that still exists, plus some other issues with cluster.
> 

I wonder if we should throw out a NOTICE when we drop some
characteristic of a table?

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] Happy column dropping
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Happy column dropping