Re: ERROR: Cross-database references are not implemented

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: ERROR: Cross-database references are not implemented
Дата
Msg-id 411993E5.4020509@joeconway.com
обсуждение исходный текст
Ответ на ERROR: Cross-database references are not implemented  (Theo Galanakis <Theo.Galanakis@lonelyplanet.com.au>)
Список pgsql-sql
Theo Galanakis wrote:
> How do I explicidly create a cross-database reference?
> 
> Mind you these databases are on the same server.
> 
> In MSSQL you could do that through enterprise manager.
> 
> Any help would be appreciated.

You cannot do cross database references per se, but you can use schemas, 
which roughly behave like individual databases do in MSSQL. See:
http://www.postgresql.org/docs/7.4/static/ddl-schemas.html

If you really need cross-database queries, see contrib/dblink (which 
would also work across servers), but it isn't as flexible as using schemas.

HTH,

Joe


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

Предыдущее
От: Theo Galanakis
Дата:
Сообщение: ERROR: Cross-database references are not implemented
Следующее
От: Theo Galanakis
Дата:
Сообщение: Re: ERROR: Cross-database references are not implemented -