Re: is backing up a live postgres enough?

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: "Colin Stearman" <cstearman(at)infofind(dot)com>
Cc: "Louis-David Mitterrand" <vindex(at)apartia(dot)org>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: is backing up a live postgres enough?
Date: 2002-11-24 17:33:40
Message-ID: m3of8eg9e3.fsf@varsoon.wireboard.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Colin Stearman" <cstearman(at)infofind(dot)com> writes:

> 3. An apparent bug in dumping and restoring blobs does not result in the
> restored blob having the same OID as the original. A major problem as the
> OID is what you use to access the blob. (I have a bug report in on this.)

I have only seen this problem if the column that stores the reference
to the BLOB is *not* of type "oid". If you store your BLOB references
in an "oid" column, pg_restore will "fix up" the references for you
when the BLOBs get renumbered.

This is kind of an annoying restriction as the automatic DB-creation
software I was using didn't support oid columns, but it does work.

-Doug

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Aleksei Wolff 2002-11-24 17:36:19 Re: GUI for Postgres Management? PostgreSQL vs MySQL.
Previous Message annachau 2002-11-24 17:17:49 Error Occurred when run function. How to solve it?