| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
| Cc: | Jacob Vennervald Madsen <jvm(at)gopinocchio(dot)com>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Select from different database |
| Date: | 2001-09-04 05:14:20 |
| Message-ID: | 200109040514.f845EKY21801@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
> Jacob Vennervald Madsen writes:
>
> > Is it possible to fetch data from another database than the current?
>
> No.
New FAQ item:
<H4><A href="#4.25">4.25</A>) How do I perform queries
using multiple databases?<H4>
<P>There is no way to query any database except the current one.
Because PostgreSQL loads database-specific system catalogs, it is
uncertain how a cross-database query should even behave.</P>
<P>Of course, a client can make simultaneous connections to
different databases and merge the information that way.</P>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Ford | 2001-09-04 05:41:52 | is there a function/variable with remote host addr? |
| Previous Message | James F. Hranicky | 2001-09-04 04:21:40 | Unexpected Behavior Using a Rule With Multiple Actions (Long) |