Re: Dragging and dropping tables between databases

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Dragging and dropping tables between databases
Date: 2010-06-03 17:09:18
Message-ID: 20100603170918.GM30784@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

In response to John Gage :
> Okay, maybe not that simple, but is there a way to transfer a table
> easily between two databases?
>
> The easiest way I can think of is to back-up the table in an sql file
> and then run the sql file in the other database. Is that the easiest?

Yeah, or:

pg_dump | psql

with proper parameters.

Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431 2EB0 389D 1DC2 3172 0C99

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Sean Davis 2010-06-03 17:20:32 Re: Dragging and dropping tables between databases
Previous Message John Gage 2010-06-03 15:29:30 Dragging and dropping tables between databases