Обсуждение: Cross database joins feature request

Поиск
Список
Период
Сортировка

Cross database joins feature request

От
"Swaminathan Saikumar"
Дата:
Thanks for telling me that Postgres doesn't support cross-database joins.
I know MS Sql Server does. And one of the companies I worked for used it, to sometimes have a secure database with sensitive info behind a firewall join queries with a less secure database.

Is this something worth considering adding as a feature to Postgres?

Re: Cross database joins feature request

От
Bruce Momjian
Дата:
Swaminathan Saikumar wrote:
> Thanks for telling me that Postgres doesn't support cross-database joins.
> I know MS Sql Server does. And one of the companies I worked for used it, to
> sometimes have a secure database with sensitive info behind a firewall join
> queries with a less secure database.
>
> Is this something worth considering adding as a feature to Postgres?

No.  Most people who need this use schemas.  Frankly, if you can do
cross-db queries you are kind of losing the security value.

We do have /contrib/dblink that does cross-db queries.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +