Re: Diferent databases on same query...

From: "Andre Schnabel" <a_schnabel(at)t-online(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Diferent databases on same query...
Date: 2001-10-23 20:17:59
Message-ID: 9r4ja3$1kou$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


"Douglas Rafael da Silva" <douglas(at)inducola(dot)com(dot)br> schrieb im Newsbeitrag
news:3BD2129F(dot)7D200D01(at)inducola(dot)com(dot)br(dot)(dot)(dot)

>
> Hi, Andre !
>
> Maybe yes, maybe not. I have 6 companies of the same group, little but
> they are like as, and they share the main database. But there are data
> that are specific of each one. The design of tables is the same for all
> them. So, on mysql I had on diferent databases. Thus, on the same query,
> I select the name of employee, the truck and invoice of the specific
> company. Two companies have server separated. How can I do to do
> distribute database server with postgres ? You have a suggestion ?

Hi Douglas,

ok, that's a good point to have different databases in one query.
Unfortunately there is no way to do this with postgresql. At least no way
with the standard distribution.
Maybe it's worth to try replication. You should be able to replicate the
tables of your main db between the others. But I never tried that. AFAIK, he
most advanced replication tooll is PostgreSQL Replicator
(http://pgreplicator.sourceforge.net/).
Maybe it's the better way to go back(?) to MySQL or have a look at
Interbase.

Andre

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Joseph Shraibman 2001-10-23 21:58:50 dropping foreign key
Previous Message san 2001-10-23 19:23:00 Re: PL/pgSQL triggers ON INSERT OR UPDATE