Re: OIDs as keys

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: OIDs as keys
Дата
Msg-id 200303062113.h26LDCP03630@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: OIDs as keys  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: OIDs as keys
Список pgsql-performance
Tom Lane wrote:
> Neil Conway <neilc@samurai.com> writes:
> > Rather than specifying the use of OIDs by WITH OIDS clauses for each
> > CREATE TABLE in a dump, couldn't we do it by adding a SET command that
> > toggles the 'use_oids' GUC option prior to every CREATE TABLE?
>
> Seems better than cluttering the CREATE TABLE itself with them, I guess.

It would be good to somehow SET the use_oids GUC value on restore start,
and just use SET when the table is different than the default, but then
there is no mechanism to do that when you restore a single table.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: OIDs as keys
Следующее
От: Tom Lane
Дата:
Сообщение: Re: OIDs as keys