Re: One table in two different databases

From: "Gregory S(dot) Williamson" <gsw(at)globexplorer(dot)com>
To: <msoares(at)masterhoteis(dot)com(dot)br>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: One table in two different databases
Date: 2003-08-09 01:29:54
Message-ID: 71E37EF6B7DCC1499CEA0316A2568328DC97FF@loki.globexplorer.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Perhaps:
dblink -
Allows remote query execution
by Joe Conway <mail(at)joeconway(dot)com>

This is under the contrib directory in your source distribution. I haven't done much with it, but it seems to allow access to tables not in the current database.

HTH,

Greg Williamson

-----Original Message-----
From: Marcelo Soares [mailto:msoares(at)masterhoteis(dot)com(dot)br]
Sent: Friday, August 08, 2003 6:17 PM
To: pgsql-general(at)postgresql(dot)org
Subject: [GENERAL] One table in two different databases

Hi all,

I would like to know if its possible to have the SAME TABLE into two
different databases (but in the same server). Or to create a view of a
table of database X at the database Y.

I try to find it in Postgres docs, with no success.

Thanks to all,

Marcelo Soares
Informática - Master Hotéis
(51)3212-5055
ICQ Externo: 19398317
ICQ Interno: 1002

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-08-09 03:13:28 Re: remove $ from money field
Previous Message Simon Windsor 2003-08-09 00:41:04 Moving from MySQL