Re: how to copy table to another database?

Поиск
Список
Период
Сортировка
Искать
От
scott.marlowe
Тема
Re: how to copy table to another database?
Дата
Msg-id
Pine.LNX.4.33.0307181457570.2787-100000@css120.ihs.com
Ответ на
Список
Дерево обсуждения
how to copy table to another database? "Yudie" <yudie@axiontech.com>
Re: how to copy table to another database? Dmitry Tkach <dmitry@openratings.com>
Re: how to copy table to another database? "scott.marlowe" <scott.marlowe@ihs.com>
On Fri, 18 Jul 2003, Yudie wrote:

> Hi,
> Anyone know how the procedure or commands to copy table to another database.
> or querying from another database if possible?

If you want to copy a table from one db to another, you can use this:

pg_dump dbname -t tablename |psql dbname -e

If you want cross database queries, look in the /contrib/dblink dir in the 
tarball of postgresql


В списке pgsql-sql по дате отправления
От: Dmitry Tkach
Дата:
От: Mike Rylander
Дата:
Сообщение: casting to arrays
FAQ