Re: how to refer to tables in another database( or schema as

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Jiaqing <jjw72(at)swbell(dot)net>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: how to refer to tables in another database( or schema as
Date: 2002-08-20 02:56:13
Message-ID: 20020819195444.G37544-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Mon, 19 Aug 2002, Jiaqing wrote:

> Hello,
> I'm still new here and new to PostgreSQL, I'd like to know that after I
> have created two databases on my site, such as one is called backend, and
> another one is called admin, how do I refer(query) the table from backend
> while I'm connected to admin database, or is it possible to do that in
> PostgreSQL? any answer is appreciated.

In addition to previous answers (dblink related), in 7.3 schemas will
be implemented and you may be able to use one database with two schemas
in which case normal sql should work. This isn't out yet, so it's a
future concern.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Mathieu Arnold 2002-08-20 06:14:57 Re: sql subqueries problem
Previous Message Graeme Merrall 2002-08-20 02:47:29 Re: how to refer to tables in another database( or schema as oracle refers to)