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 3D8A73A40A6 for ; Wed, 5 Jan 2005 05:38:33 +0000 (GMT) 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 69410-04 for ; Wed, 5 Jan 2005 05:38:21 +0000 (GMT) Received: from sharp.noc24x7.com (unknown [69.56.128.138]) by svr1.postgresql.org (Postfix) with ESMTP id 0CC3B3A4077 for ; Wed, 5 Jan 2005 05:38:20 +0000 (GMT) Received: from [61.3.110.150] (helo=thenilgiris.com) by sharp.noc24x7.com with esmtpa (Exim 4.43) id 1Cm3sB-0001Xe-WD; Wed, 05 Jan 2005 11:08:20 +0530 Received: from localhost (localhost [[UNIX: localhost]]) by thenilgiris.com (8.11.2/8.11.2) id j055cSb28745; Wed, 5 Jan 2005 11:08:28 +0530 Content-Type: text/plain; charset="iso-8859-1" From: Kenneth Gonsalves To: deepthi@granwill.com, pgsql-sql@postgresql.org Subject: Re: Calling a table residing in another database from Plpgsql Date: Wed, 5 Jan 2005 11:08:28 +0530 X-Mailer: KMail [version 1.2] References: <43146.61.11.66.222.1104902026.squirrel@61.11.66.222> In-Reply-To: <43146.61.11.66.222.1104902026.squirrel@61.11.66.222> MIME-Version: 1.0 Message-Id: <05010511082818.01217@thenilgiris.com> Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sharp.noc24x7.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - thenilgiris.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.152 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200501/12 X-Sequence-Number: 19800 On Wednesday 05 January 2005 10:43 am, deepthi@granwill.com wrote: > Hi, > > I have function called test1() in database 1. I need to input the value > from this function into another table which is in database2. shouldnt you be using schemas instead? kg