Search Postgresql Archives

How to move data from 1 database to another?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have 2 databases. I want to move data from table table1 in database db1 to table2 in db2.

When I query 1 table from another database, I get a cross-database references are not implemented.

server1% psql db1
emdata=# select * from db2.public.table1;
ERROR:  Cross-database references are not implemented


What can I do to get the data into another database?


Thanks,
Thomas

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar ? get it now! http://toolbar.msn.com/go/onm00200415ave/direct/01/



---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux