Cross database joins feature request

Started by Swaminathan Saikumarabout 18 years ago2 messagesgeneral
Jump to latest
#1Swaminathan Saikumar
swami@giveexam.com

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?

#2Bruce Momjian
bruce@momjian.us
In reply to: Swaminathan Saikumar (#1)
Re: Cross database joins feature request

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. +