Re: Dumping a table from one database and adding it to another

From: "James B(dot) Byrne" <byrnejb(at)harte-lyne(dot)ca>
To: "Adrian Klaver" <adrian(dot)klaver(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Dumping a table from one database and adding it to another
Date: 2010-12-02 21:16:50
Message-ID: 55552.216.185.71.25.1291324610.squirrel@webmail.harte-lyne.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Thu, December 2, 2010 15:57, Adrian Klaver wrote:
> a
>> different database, using PG utilities?
>>
>>
>
> pg_dump -U postgres -a -t cell_per -f cell_per.sql production
>

followed by:

/usr/bin/psql -f cell_per.sql production

works wonderfully. Thank you.

--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB(at)Harte-Lyne(dot)ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3

In response to

Browse pgsql-general by date

  From Date Subject
Next Message mabra 2010-12-02 21:53:55 Re: Looking for auto starting procedures
Previous Message Adrian Klaver 2010-12-02 21:02:31 Re: Dumping a table from one database and adding it to another