Re: sql dump - Mailing list pgsql-general

From Vincenzo Romano
Subject Re: sql dump
Date
Msg-id AANLkTikqH-wb0zNPENy6V3UV1xiV67kz9c_q7p3QDmqm@mail.gmail.com
Whole thread Raw
In response to sql dump  (Scott Frankel <frankel@circlesfx.com>)
List pgsql-general
2010/7/26 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.
>
> Thanks in advance!
> Scott

You can use COPY but you won't easily have the DDL, just the data.

--
Vincenzo Romano
NotOrAnd Information Technologies
NON QVIETIS MARIBVS NAVTA PERITVS

pgsql-general by date:

Previous
From: Raymond O'Donnell
Date:
Subject: Re: sql dump
Next
From: Ian Barwick
Date:
Subject: Re: sql dump