Re: trying to upgrade and keep large object IDs intact... - Mailing list pgsql-general

From Tom Lane
Subject Re: trying to upgrade and keep large object IDs intact...
Date
Msg-id 8981.1015282887@sss.pgh.pa.us
Whole thread Raw
In response to trying to upgrade and keep large object IDs intact...  (Ron Snyder <snyder@roguewave.com>)
List pgsql-general
Ron Snyder <snyder@roguewave.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

pgsql-general by date:

Previous
From: Jean-Luc Lachance
Date:
Subject: Re: Listing Numbers
Next
From: Tom Lane
Date:
Subject: Re: [INTERFACES] PL/pgSQL Syntax Problem