Re: Why does pg_dump set default_with_oids to true?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Kynn Jones <kynnjo(at)gmail(dot)com>
Cc: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Why does pg_dump set default_with_oids to true?
Date: 2009-10-26 19:10:46
Message-ID: 20091026191046.GI8812@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2009-10-26 19:36:26 Re: How to list user-specific configuration parameters?
Previous Message Cédric Villemain 2009-10-26 19:08:06 Re: [ANNOUNCE] PGDay.EU 2009 - approaching fast!