Re: pg_restore --clean vs. large object - Mailing list pgsql-hackers

From Jaime Casanova
Subject Re: pg_restore --clean vs. large object
Date
Msg-id 3073cc9b0907172332n4b6a2a2dx213b1a09835d4d75@mail.gmail.com
Whole thread Raw
In response to pg_restore --clean vs. large object  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Responses Re: pg_restore --clean vs. large object
List pgsql-hackers
On Mon, May 18, 2009 at 3:10 AM, Itagaki
Takahiro<itagaki.takahiro@oss.ntt.co.jp> wrote:
>
> The attached is a patch to execute lo_unlink() before lo_create()
> in pg_restore.


the patch applies almost cleanly (there are only minor and superfluos
hunks), compiles...
it works as expected...

this patch makes me wonder why we dump or restore an object in
pg_largeobject that has been deleted from the user table that had the
oid... but that is another thing...

i think this one could be applied, just as is... there is no need for
docs, because the issue being fixed is not documented... maybe that
should be in doc of older releases?

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157


pgsql-hackers by date:

Previous
From: Hitoshi Harada
Date:
Subject: Re: slow count in window query
Next
From: Bernd Helmle
Date:
Subject: Re: mixed, named notation support