Re: sql dump - Mailing list pgsql-general

From Ian Barwick
Subject Re: sql dump
Date
Msg-id AANLkTikeMBN8jO7bj4sr1_wHRdeUE5tzfo+CGY=niVg2@mail.gmail.com
Whole thread Raw
In response to sql dump  (Scott Frankel <frankel@circlesfx.com>)
List pgsql-general
2010/7/27 Scott Frankel <frankel@circlesfx.com>:
>
> 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.

COPY might be of use:
http://www.postgresql.org/docs/8.3/interactive/sql-copy.html

though you will have to specify each table of course.


Ian Barwick

pgsql-general by date:

Previous
From: Vincenzo Romano
Date:
Subject: Re: sql dump
Next
From: David Fetter
Date:
Subject: Re: sql dump