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

From Andrew Dunstan
Subject Re: Backup and restore through JDBC
Date
Msg-id 451D1EB1.603@dunslane.net
Whole thread Raw
In response to Re: Backup and restore through JDBC  ("Marlon Petry" <marlonpetry@gmail.com>)
Responses Re: Backup and restore through JDBC  ("Marlon Petry" <marlonpetry@gmail.com>)
Re: Backup and restore through JDBC  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Marlon Petry wrote:>
>
>     > You can't. pg_dump in particular embodies an enormous amount of
>     > knowledge that simply does not exist elsewhere. There is no
>     > dump/restore API, and there is nothing you can hook up to using JNI,
>     > AFAIK.
>     Recently, there was the proposal to extract that knowledge to a
>     library
>     (making pg_dump itself just a wrapper). This sounds valuable more and
>     more, is anybody working on this for 8.3?
>
>
> I have interest in working,how i could start ?
>


Start by reading the code in src/bin/pg_dump

Then after you recover from your head exploding you start devising some 
sort of sane API ...

cheers

andrew


pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Block B-Tree concept
Next
From: "Marlon Petry"
Date:
Subject: Re: Backup and restore through JDBC