| From: | Raymond O'Donnell <rod(at)iol(dot)ie> |
|---|---|
| To: | Scott Frankel <frankel(at)circlesfx(dot)com> |
| Cc: | PostgreSQL List <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: sql dump |
| Date: | 2010-07-26 16:04:59 |
| Message-ID: | 4C4DB22B.7050209@iol.ie |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 26/07/2010 16:58, Scott Frankel wrote:
>
> Hi all,
>
> Is it possible to perform an SQL Dump without using pg_dump?
>
> I have a special case situation wherein my application has access to a
> remotely-hosted PG (8.3) database, but does not have access to its admin
> tools. (There's a longer backstory here that I'm happy to explain if
> necessary.) I'm looking for an efficient way to dump all the data in the
> DB without having to SELECT * on each table.
I don't think so. Are you in a position to run pg_dump locally to the
application, using the -h parameter to connect to the remote DB? You
really are better off to use pg_dump if you can at all, since it looks
after FK dependencies between tables, permissions, etc.
Ray.
--
Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gauthier, Dave | 2010-07-26 16:09:04 | Integral PG DB replication |
| Previous Message | Vincenzo Romano | 2010-07-26 16:01:31 | Re: sql dump |