Re: Backup with Java - Mailing list pgsql-jdbc

From Jim Nasby
Subject Re: Backup with Java
Date
Msg-id E20A0078-2A8A-4F3E-BB8D-EEE7BBABF6B0@decibel.org
Whole thread Raw
In response to Re: Backup with Java  (imad <immaad@gmail.com>)
Responses Re: Backup with Java
List pgsql-jdbc
On Nov 27, 2006, at 12:20 PM, imad wrote:

> Read and understand the file 'src/bin/pg_dump/pg_dump.c' in the
> postgresql
> core server code base. This is the only solution of your problem,
> you are going
> to rewrite all the C code in JAVA.

BTW, if you're going to go to that much trouble, you should ask on -
hackers about putting some of the pg_dump functionality into
functions, since this isn't the first time people have asked for a
non-pg_dump backup solution. It would make sense to abstract things
that were reasonable out of pg_dump and into the database itself if
there's really that much demand for this.

Another option would be providing some means to call pg_dump(all)
from a database connection.
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)



pgsql-jdbc by date:

Previous
From: alfranio correia junior
Date:
Subject: ParsedStatement Behavior
Next
From: Ingmar Lötzsch
Date:
Subject: PreparedStatement and TYPE bit