X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3B031D8A5E for ; Thu, 1 Sep 2005 10:46:54 -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 16574-01 for ; Thu, 1 Sep 2005 13:46:50 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id BC5C8D8A16 for ; Thu, 1 Sep 2005 10:46:43 -0300 (ADT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id j81Dkbbg027583 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 1 Sep 2005 07:46:40 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.3/8.13.3) with ESMTP id j81DkaOL027691; Thu, 1 Sep 2005 07:46:36 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.3/8.13.3/Submit) id j81DkXtR027690; Thu, 1 Sep 2005 07:46:33 -0600 (MDT) (envelope-from mfuhr) Date: Thu, 1 Sep 2005 07:46:33 -0600 From: Michael Fuhr To: sandhya Cc: postgre Subject: Re: Reg:Connection Object Message-ID: <20050901134633.GA27624@winnie.fuhr.org> References: <01ad01c5aee1$dd839570$cd00000a@amiindiahjwbgh> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01ad01c5aee1$dd839570$cd00000a@amiindiahjwbgh> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 required=5 tests=[AWL=0.005] X-Spam-Level: X-Archive-Number: 200509/3 X-Sequence-Number: 18740 On Thu, Sep 01, 2005 at 04:12:17PM +0530, sandhya wrote: > How to pass connection object across the functions.So that there > is no need for me to connect to postgres database in each and every > function. What functions? You didn't say what language you're using, nor whether you're writing client-side code or server-side code. BTW, this thread seems off-topic for pgsql-admin because it doesn't concern PostgreSQL administration. You're more likely to get help in pgsql-interfaces or pgsql-general, or in one of the more specific lists like pgsql-jdbc or pgsql-php if you're using one of those interfaces. -- Michael Fuhr