Re: Killing OIDs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Killing OIDs
Дата
Msg-id 11769.1234375292@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Killing OIDs  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: Killing OIDs  (Steve Crawford <scrawford@pinpointresearch.com>)
Re: Killing OIDs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
"Joshua D. Drake" <jd@commandprompt.com> writes:
> On Wed, 2009-02-11 at 09:41 -0800, Steve Crawford wrote:
>> My plan is to do the OID removal on 7.4. I can get a script with:
>> SELECT
>> 'ALTER TABLE ' || relname || ' SET WITHOUT OIDS;'

> That won't drop the OID columns.

Sure it will.  I'd be a little worried about whether he shouldn't
be using quote_identifier and/or schema-qualifying the names, but
SET WITHOUT OIDS is the right command to be issuing.

            regards, tom lane

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Killing OIDs
Следующее
От: rhubbell
Дата:
Сообщение: postmaster LISTENing on UDP port 32938