From: | "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk> |
---|---|
To: | "Marcos Aurélio S(dot) da Silva" <aurelio(at)cpatc(dot)embrapa(dot)br> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Postgresql database access |
Date: | 2001-01-05 20:40:49 |
Message-ID: | 200101052040.f05KeoH05563@linda.lfix.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
"Marcos =?iso-8859-1?Q?Aur=E9lio?= S. da Silva" wrote:
>Dear Pg experts,
>
>I have two databases and i want to refer to one table in a database "X"
>when
>i'm using database "Y". Something like this:
>
> select * from X.table
>
>This causes a parse error. What's the correct sintax?
It isn't possible to do this; you can only look at one database at a
time.
--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"And thou shalt love the LORD thy God with all thine
heart, and with all thy soul, and with all thy might."
Deuteronomy 6:5
From | Date | Subject | |
---|---|---|---|
Next Message | Mahesh Guleria | 2001-01-06 05:08:48 | pg_recvbuf : unexpected EOF on client |
Previous Message | Tom Lane | 2001-01-05 19:02:31 | Re: pqReadData() |