SELECT from a table in another database

From: "Trygve Falch" <trf(at)ssb(dot)no>
To: pgsql-general(at)postgresql(dot)org
Subject: SELECT from a table in another database
Date: 2001-05-15 15:24:33
Message-ID: 20010515.172432.1012502954.2650@ssb.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Hi!

I'm having a problem with a SQL-sentence like this:

SELECT * from DATABASE.Table;

I get an error saying: 'parse error at or near "."'

I've done this in MySQL and Oracle without any problem, and found it
strange that I couldn't do it in Postgres.

Am I missing something, or do
I have to use another syntax to be able to select from tables in another
databases?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2001-05-15 15:28:16 Re: Performance aggregates
Previous Message Roberto Mello 2001-05-15 15:07:44 Re: [HACKERS] Internet is putting lot of competition fire & heat under Microsoft SQL Server

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2001-05-15 15:40:11 Configurable path to look up dynamic libraries
Previous Message Roberto Mello 2001-05-15 15:07:44 Re: [HACKERS] Internet is putting lot of competition fire & heat under Microsoft SQL Server