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

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Jiaqing" <jjw72(at)swbell(dot)net>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: how to refer to tables in another database( or schema as oracle refers to)
Date: 2002-08-20 01:35:51
Message-ID: GNELIHDDFBOCMGBFGEFOAEMFCDAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi Jiaqing,

Basically - you can't. There is a program in the contrib/dblink directory
that can help you though.

Regards,

Chris

> -----Original Message-----
> From: pgsql-sql-owner(at)postgresql(dot)org
> [mailto:pgsql-sql-owner(at)postgresql(dot)org]On Behalf Of Jiaqing
> Sent: Tuesday, 20 August 2002 5:53 AM
> To: pgsql-sql(at)postgresql(dot)org
> Subject: [SQL] how to refer to tables in another database( or schema as
> oracle refers to)
>
>
> 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.
>
> JJW.
> 8/19/2002
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Christopher Kings-Lynne 2002-08-20 01:56:53 Re: Modify column type
Previous Message Jiaqing 2002-08-19 21:52:39 how to refer to tables in another database( or schema as oracle refers to)