pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedEXPORT / IMPORT
3+ messages / 3 participants
[nested] [flat]
* EXPORT / IMPORT
@ 2004-05-07 08:20 Freddy Villalba Arias <fvillalba@madrid.bilbomatica.es>
2004-05-07 08:38 ` Re: EXPORT / IMPORT Jerome Alet <alet@librelogiciel.com>
2004-05-07 11:16 ` Re: EXPORT / IMPORT Andrew Sullivan <ajs@crankycanuck.ca>
0 siblings, 2 replies; 3+ messages in thread
From: Freddy Villalba Arias @ 2004-05-07 08:20 UTC (permalink / raw)
To: pgsql-sql
Hello,
Is there a simple way to generate an export / import script in
PostgreSQL (i.e. a script that contains INSERT statements for every row
in a table) ???
COPY is NOT a good option (personal opinion).
I'm using pgAdmin3 but it does not offer this (quite disappointing, may
I say).
Thanx,
Freddy.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: EXPORT / IMPORT
2004-05-07 08:20 EXPORT / IMPORT Freddy Villalba Arias <fvillalba@madrid.bilbomatica.es>
@ 2004-05-07 08:38 ` Jerome Alet <alet@librelogiciel.com>
1 sibling, 0 replies; 3+ messages in thread
From: Jerome Alet @ 2004-05-07 08:38 UTC (permalink / raw)
To: Freddy Villalba Arias <fvillalba@madrid.bilbomatica.es>; +Cc: pgsql-sql
On Fri, May 07, 2004 at 10:20:52AM +0200, Freddy Villalba Arias wrote:
>
> Is there a simple way to generate an export / import script in
> PostgreSQL (i.e. a script that contains INSERT statements for every row
> in a table) ???
pg_dump
bye
Jerome Alet
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: EXPORT / IMPORT
2004-05-07 08:20 EXPORT / IMPORT Freddy Villalba Arias <fvillalba@madrid.bilbomatica.es>
@ 2004-05-07 11:16 ` Andrew Sullivan <ajs@crankycanuck.ca>
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Sullivan @ 2004-05-07 11:16 UTC (permalink / raw)
To: pgsql-sql
On Fri, May 07, 2004 at 10:20:52AM +0200, Freddy Villalba Arias wrote:
>
> Is there a simple way to generate an export / import script in
> PostgreSQL (i.e. a script that contains INSERT statements for every row
> in a table) ???
>
> COPY is NOT a good option (personal opinion).
pg_dump -d or -D. Note that restoring from this is going to be a
whole lot slower than restoring from a COPY based dump.
A
--
Andrew Sullivan | ajs@crankycanuck.ca
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2004-05-07 11:16 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-05-07 08:20 EXPORT / IMPORT Freddy Villalba Arias <fvillalba@madrid.bilbomatica.es>
2004-05-07 08:38 ` Jerome Alet <alet@librelogiciel.com>
2004-05-07 11:16 ` Andrew Sullivan <ajs@crankycanuck.ca>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox