Re: Why does pg_dump set default_with_oids to true? - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Why does pg_dump set default_with_oids to true?
Date
Msg-id 20091026191046.GI8812@alvh.no-ip.org
Whole thread Raw
In response to Why does pg_dump set default_with_oids to true?  (Kynn Jones <kynnjo@gmail.com>)
Responses Re: Why does pg_dump set default_with_oids to true?
List pgsql-general
Kynn Jones escribió:
> I've noticed that the dumps generated by pg_dump set the parameter
> default_with_oids to true in various places (separated by setting it back to
> false in-between).
>
> This happens even for databases whose creation and maintenance did not
> involve any explicit setting of this parameter.
>
> The documentation deprecates setting this variable to true.  Why does
> pg_dump do it?

To dump tables that were created WITH OIDS.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-general by date:

Previous
From: Radcon Entec
Date:
Subject: Logging statements with errors in PostgreSQL 8.1
Next
From: Cédric Villemain
Date:
Subject: Re: [ANNOUNCE] [pgeu-general] PGDay.EU 2009 - approaching fast!