Run programs within the bin folder - Mailing list pgsql-general

From pd
Subject Run programs within the bin folder
Date
Msg-id 1159855017.239661.184690@b28g2000cwb.googlegroups.com
Whole thread Raw
Responses Re: Run programs within the bin folder
List pgsql-general
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 select all etc. but can i also execute a query which will
perform database administration.

i mean when my java code says "select all" it doesnt have psql in front
of it. so why when i have to backup or do anything else i need to use
pg_dump and not a general query (which really makes things very
complicate programmatically).

thanks.


pgsql-general by date:

Previous
From: TIJod
Date:
Subject: Storing images in PostgreSQL databases (again)
Next
From: "shakahshakah@gmail.com"
Date:
Subject: Re: rule for inserting into partitions