pg.ddx.io pgsql-sql@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Viorel Dragomir <bc@vio.ro>
To: BenLaKnet <benlaknet@icqmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: Is it possible to connect to another database
Date: Thu, 17 Jul 2003 17:06:43 +0300
Message-ID: <01c201c34c6c$a76726c0$0600a8c0@fix.ro> (raw)
References: <3F16ACBB.3080502@icqmail.com>
$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@icqmail.com>
To: <pgsql-sql@postgresql.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
view thread (3+ messages)
Message-ID: <01c201c34c6c$a76726c0$0600a8c0@fix.ro> Permalink: ../01c201c34c6c$a76726c0$0600a8c0@fix.ro/ Also on: postgresql.org/message-id/01c201c34c6c$a76726c0$0600a8c0@fix.ro ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients using the --to and --cc options: reply via email To: pgsql-sql@postgresql.org Cc: bc@vio.ro, benlaknet@icqmail.com Subject: Re: Is it possible to connect to another database In-Reply-To: <01c201c34c6c$a76726c0$0600a8c0@fix.ro> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox