At 18:12 6/07/00 +0200, Peter Eisentraut wrote:
>Philip Warner writes:
>
>> I'll also have to modify pg_restore to talk to the database directly (for
>> lo import).
>
>psql has \lo_import.
>

P.S. Another, possibly minor, advantage of using a direct db connection is
I can allow the user to stop restoring the database on the first error,
unlike a script file to psql.



----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.C.N. 008 659 498)             |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|
                                 |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/

Fri, 07 Jul 2000 02:55:20 +1000
Philip Warner <pjw@rhyme.com.au>
Re: Re: pg_dump and LOs (another proposal) 
Philip Warner writes:

> >psql has \lo_import.

> P.S. Another, possibly minor, advantage of using a direct db connection is
> I can allow the user to stop restoring the database on the first error,
> unlike a script file to psql.

\set ON_ERROR_STOP


-- 
Peter Eisentraut                  Sernanders vï¿½g 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


Fri, 7 Jul 2000 18:15:54 +0200 (CEST)
Peter Eisentraut <peter_e@gmx.net>
Re: Re: pg_dump and LOs (another proposal) 