Re: restoring large objects

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: restoring large objects
Дата
Msg-id 25098.1081265566@sss.pgh.pa.us
обсуждение исходный текст
Ответ на restoring large objects  ("Marion McKelvie" <marion@streamlet.co.uk>)
Ответы Re: restoring large objects  ("Marion McKelvie" <marion@streamlet.co.uk>)
Список pgsql-admin
"Marion McKelvie" <marion@streamlet.co.uk> writes:
> I am running with 7.1.2 (I know it's old, but I don't have a lot of choice
> given the application running on it), and have dumped the database with
> the -b option.  However, the restoration process generates new ids for the
> large objects which means the link between the data table referencing them
> and the content of pg_largeobject is lost.

pg_dump includes code in the dump that is supposed to update references
to match the new large object OIDs.  Check into why that didn't work
for you.  (One fairly likely possibility is that you stored the
references in the wrong type of column --- it has to be type "oid" or
"lo" or pg_dump won't think it needs updating.)

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Marion McKelvie"
Дата:
Сообщение: restoring large objects
Следующее
От: Corey Edwards
Дата:
Сообщение: Re: Running Postgresql 7.4.2 on Windows 2000 with Cygwin !