Re: [GENERAL] pg_start_backup question

2009-11-02 Thread Albe Laurenz
db de wrote: > Below is what I did: > I opened a super user connection to creat a super user > statement. Then use the super user statement to execute > "SELECT pg_start_backup('label')". > > try > { > superuserCont = java.sql.DriverManager.getConnection(URL, su, > suPassword); >

Re: [GENERAL] pg_start_backup question

2009-10-30 Thread Guillaume Lelarge
Le samedi 31 octobre 2009 à 00:39:54, db de a écrit : > Below is what I did: > I opened a super user connection to creat a super user statement. Then use > the super user statement to execute "SELECT pg_start_backup('label')". > > try > { > superuserCont = java.sql.DriverManager.getConnect

Re: [GENERAL] pg_start_backup question

2009-10-30 Thread db de
Below is what I did: I opened a super user connection to creat a super user statement. Then use the super user statement to execute "SELECT pg_start_backup('label')". try { superuserCont = java.sql.DriverManager.getConnection(URL, su, suPassword); suStatement = superuserCont.create

Re: [GENERAL] pg_start_backup question

2009-10-30 Thread Guillaume Lelarge
Le vendredi 30 octobre 2009 à 23:41:54, db de a écrit : > How to execute "SELECT pg_start_backup('label');" from java as a SQL > statement? I tries to use: > Statement.execute("SELECT pg_start_backup('label')") > > But it does not work. > You should have an error message in your PostgreSQL logs.

[GENERAL] pg_start_backup question

2009-10-30 Thread db de
How to execute "SELECT pg_start_backup('label');" from java as a SQL statement? I tries to use: Statement.execute("SELECT pg_start_backup('label')") But it does not work. Thanks. Jack