pg_dump without oids

Поиск
Список
Период
Сортировка
От Stéphane Schildknecht
Тема pg_dump without oids
Дата
Msg-id 45AE675C.7000209@postgresqlfr.org
обсуждение исходный текст
Ответы Re: pg_dump without oids  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi all,

pg_dump and pg_dumpall have the -o option that should tell them to
include oids in dump. I didn't chose this option, and the dump doesn't
include "WITH OIDS", but the tables are created with oids when restoring
this dump.

I'm dumping from 7.4.5 to 8.2.1.
I do have
#default_with_oids = off
in postgresql.conf for 8.2.

Is there a way to prevent creating table with oids ?

A table created by psql client is created without OID.

Thanks by advance

Stéphane Schildknecht


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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Newbie questions (pg_global, tablespace, pg_temp, ...)
Следующее
От: "John D. Burger"
Дата:
Сообщение: Re: Building web sites using a database