Re: trying to upgrade and keep large object IDs intact...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ron Snyder <snyder(at)roguewave(dot)com>
Cc: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: trying to upgrade and keep large object IDs intact...
Date: 2002-03-04 23:01:27
Message-ID: 8981.1015282887@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ron Snyder <snyder(at)roguewave(dot)com> writes:
> The field (in table "attachments") that references the loid (in
> pg_largeobject) is storing the loid as text-- is that possibly what's making
> it difficult for us to do this upgrade?

Yup. pg_dump/pg_restore know about updating LO references that are
stored as OIDs or as type "lo" (see contrib/lo and friends). They
have no reason to think that those digit strings in your text column
have anything to do with your large objects.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-03-04 23:03:16 Re: [INTERFACES] PL/pgSQL Syntax Problem
Previous Message Jean-Luc Lachance 2002-03-04 22:56:26 Re: Listing Numbers