Re: Is it possible to connect to another database

From: "Viorel Dragomir" <bc(at)vio(dot)ro>
To: "BenLaKnet" <benlaknet(at)icqmail(dot)com>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Is it possible to connect to another database
Date: 2003-07-17 14:06:43
Message-ID: 01c201c34c6c$a76726c0$0600a8c0@fix.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

$db_conn1 = pg_connect("dbname=db1");
$db_conn2 = pg_connect("dbname=db2");
.....

You can't join two tables from different databases(, as far as i know :).

----- Original Message -----
From: "BenLaKnet" <benlaknet(at)icqmail(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Sent: Thursday, July 17, 2003 5:03 PM
Subject: [SQL] Is it possible to connect to another database

> Hi,
>
> I try to find how is it possible to connect 2 databases, with a symbolic
> link.
>
> I have to use tables in another database to test user or other
information.
>
>
> Ben
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message greg 2003-07-17 14:19:19 Re: parse error for function def
Previous Message Adam Witney 2003-07-17 14:05:22 Re: Is it possible to connect to another database