Re: Backup and restore through JDBC - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Backup and restore through JDBC
Date
Msg-id 16320.1159543149@sss.pgh.pa.us
Whole thread Raw
In response to Re: Backup and restore through JDBC  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Backup and restore through JDBC  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Then after you recover from your head exploding you start devising some 
> sort of sane API ...

That's the hard part.  There is no percentage in having a library if
it doesn't do anything significantly different from what you could
accomplish viasystem("pg_dump ...switches....");

What is it you hope to accomplish by having a library, exactly?
(And don't say "more control over the dump process".  pg_dump is already
on the hairy edge of maintainability; we do *not* need to try to deal
with making it still function correctly after an application programmer
makes some random intervention in the process.)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Jan de Visser
Date:
Subject: Re: Block B-Tree concept
Next
From: Tom Lane
Date:
Subject: Re: Another idea for dealing with cmin/cmax