[GENERAL] Postgres backup

2006-10-02 Thread pd
guys, i have a java web app with a postgres backend. now i want to implement a db database functionality from within my web app. now i have got this so far, String[] args = {"\"C:\\Program Files\\PostgreSQL\\8.1\\bin\\pg_dump\"", " -i", " -h", " localhost", " -p", " 5432", " -U", " postgres", " -

[GENERAL] Run programs within the bin folder

2006-10-04 Thread pd
guys, is there a way to run various programs like (pg_config, pg_restore, dropdb etc) from within pgadmin or from within my java code. i mean can i perform database administration from within postgres that is without using literal commands. so from within my java code i can execute a query like se