Re: Killing OIDs

From: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
To: Daniel Verite <daniel(at)manitou-mail(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Killing OIDs
Date: 2009-02-11 20:18:10
Message-ID: 49933282.4040408@pinpointresearch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Daniel Verite wrote:
> I seems to me that pg_dump does it for you anyway, unless you ask
> otherwise. See the -o option.
>
>
No, as I understand it this does not influence whether or not the table
is recreated with OIDs, it determines whether the _values_ of the OIDs
are included in the dumped data. Without this option, new OIDs are
created on restore - not good if you expect them to remain unchanged
(foreign key or whatever).

Cheers,
Steve

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-02-11 20:36:45 Re: Killing OIDs
Previous Message Alvaro Herrera 2009-02-11 20:14:33 PostgreSQL "freebsd ports" package description outdated