Re: Max OID

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: steve(at)retsol(dot)co(dot)uk
Cc: PostGreSQL <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Max OID
Date: 2008-10-16 20:02:06
Message-ID: 19799.1224187326@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Steve T <steve(at)retsol(dot)co(dot)uk> writes:
> If I have a set of large objects and I have a pointer on a table to that
> object, what happens to that pointer when the database is dumped and
> restored?

Nothing, if you're using a reasonably modern PG version (8.1 or later).
pg_dump preserves the OIDs of large objects.

In older versions dump/reload didn't preserve those OIDs, but instead
pg_dump attempted to update stored OIDs to match the new values.

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Steve T 2008-10-17 06:30:35 Re: Max OID
Previous Message Harold A. Giménez Ch. 2008-10-16 19:15:26 Re: Max OID