Re: Why does pg_dump set default_with_oids to true?

From: "Joshua D(dot) Drake" <jd(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 18:47:48
Message-ID: 1256582868.2389.6.camel@jd-desktop.unknown.charter.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 2009-10-26 at 11:04 -0400, Kynn Jones wrote:
> 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?

It is picking up objects that have OIDS.

Joshua D. Drake

>
>
> TIA!
>
>
> Kynn
>
>

--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 503.667.4564
Consulting, Training, Support, Custom Development, Engineering
If the world pushes look it in the eye and GRR. Then push back harder. - Salamander

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2009-10-26 18:56:26 Re: joining an array with a table or...?
Previous Message Penrod, John 2009-10-26 18:03:13 How do I pipe output from query to a file in PostgreSQL?