Re: Killing OIDs

Поиск
Список
Период
Сортировка
От Steve Crawford
Тема Re: Killing OIDs
Дата
Msg-id 49932E1A.6060301@pinpointresearch.com
обсуждение исходный текст
Ответ на Re: Killing OIDs  (Raymond O'Donnell <rod@iol.ie>)
Ответы Re: Killing OIDs  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-general
Raymond O'Donnell wrote:
>
>> Since 8.3 creates tables WITHOUT OIDS by default, I'd think just
>> dumping from 7.4 to 8.3 with 8.3's pg_dump should do the trick.  Or am
>> I missing something?
>>
>
> I could be wrong, but I think 8.3's pg_dump will append WITH (OIDS=TRUE)
> if it finds tables with OIDs.
>


Close. It actually does a "SET default_with_oids = true;" (or false)
prior to the CREATE TABLE statement. In any case, it does preserve the
OID setting of the source database.

Cheers,
Steve


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

Предыдущее
От: Raymond O'Donnell
Дата:
Сообщение: Re: Killing OIDs
Следующее
От: Dennis Brakhane
Дата:
Сообщение: Re: createdb.exe and psql.exe without Promting Password