SQL statements equivalent to pg_dump - Mailing list pgsql-novice

From Jason Tan Boon Teck
Subject SQL statements equivalent to pg_dump
Date
Msg-id dd8f6c970711211944j26035fe9i56f4bf9e115700e5@mail.gmail.com
Whole thread Raw
List pgsql-novice
Hi,

I'm trying to create an adhoc backup feature inside an application using PHP.

I could perform a pg_dump using the shell, but is there SQL statements that could do the same thing without having to use PHP to go to shell and then having to change users to root, postgres, etc. just to make a dump? I'm hoping to minimize security risks.

Thanks in advance.

--
Jason Tan Boon Teck

pgsql-novice by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: sql file in the tutorial directory
Next
From: "Nikolay Samokhvalov"
Date:
Subject: Re: xpath question