X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8A93756146 for ; Thu, 5 May 2005 04:05:52 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 01117-08 for ; Thu, 5 May 2005 07:05:48 +0000 (GMT) Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by svr1.postgresql.org (Postfix) with ESMTP id D6A66560F2 for ; Thu, 5 May 2005 04:05:46 -0300 (ADT) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 35F8940EF82; Thu, 5 May 2005 08:00:19 +0100 (BST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mainbox.archonet.com (Postfix) with ESMTP id 1C6CB15EE3; Thu, 5 May 2005 07:56:20 +0100 (BST) Received: from mainbox.archonet.com ([127.0.0.1]) by localhost (mainbox [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14699-02; Thu, 5 May 2005 07:56:19 +0100 (BST) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id C4CB615EDE; Thu, 5 May 2005 07:56:19 +0100 (BST) Message-ID: <4279C393.2080007@archonet.com> Date: Thu, 05 May 2005 07:56:19 +0100 From: Richard Huxton User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: mohammad izwan ibrahim Cc: pgsql-sql@postgresql.org Subject: Re: accessing multiple database References: <200505050247.j452lCBX020230@smp.orenda.com.my> In-Reply-To: <200505050247.j452lCBX020230@smp.orenda.com.my> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.054 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200505/43 X-Sequence-Number: 21356 mohammad izwan ibrahim wrote: > hi all, > > im finding some ideas, method, advice, n etc on accessing multiple > database.The system that i'm currently develop is real time update > and the data reside on few different db at different db site. Tq in > advance. Obviously you can access more than one database from your client software. From within PostgreSQL itself, look into the dblink package in the contrib/ directory of the source distribution. -- Richard Huxton Archonet Ltd