Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9NKa3P00171 for ; Tue, 23 Oct 2001 16:36:03 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f9NKIBs54049 for pgsql-sql@postgresql.org; Tue, 23 Oct 2001 16:18:11 -0400 (EDT) (envelope-from news) From: "Andre Schnabel" X-Newsgroups: comp.databases.postgresql.sql Subject: Re: Diferent databases on same query... Date: Tue, 23 Oct 2001 22:17:59 +0200 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 31 Message-ID: <9r4ja3$1kou$1@news.tht.net> References: <3BD2129F.7D200D01@inducola.com.br> X-Complaints-To: scrappy@hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: pgsql-sql@postgresql.org X-Archive-Number: 200110/334 X-Sequence-Number: 5287 "Douglas Rafael da Silva" schrieb im Newsbeitrag news:3BD2129F.7D200D01@inducola.com.br... > > 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