Re: Creating table in different database

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Creating table in different database
Дата
Msg-id 20051025154426.GA53568@winnie.fuhr.org
обсуждение исходный текст
Ответ на Creating table in different database  (Paresh Bafna <paresh@it.iitb.ac.in>)
Список pgsql-general
On Tue, Oct 25, 2005 at 11:27:08AM +0530, Paresh Bafna wrote:
> If there are multiple databases, say db1 and db2.
> And currently we are in db1, can we create table in db2 (without
> switching databases)?

You could use contrib/dblink.  However, if you need to do this often
then it might be better to use schemas instead of separate databases.

--
Michael Fuhr

В списке pgsql-general по дате отправления:

Предыдущее
От: Csaba Nagy
Дата:
Сообщение: Re: Deleting vs foreign keys
Следующее
От: Claire McLister
Дата:
Сообщение: Re: Map of Postgresql Users (OT)