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 8AE84D8A06 for ; Thu, 1 Sep 2005 10:33:20 -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 12781-03 for ; Thu, 1 Sep 2005 13:33:17 +0000 (GMT) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by svr1.postgresql.org (Postfix) with ESMTP id AE928D89F6 for ; Thu, 1 Sep 2005 10:33:10 -0300 (ADT) Received: from venus.amiindia.co.in (unknown [203.199.198.234]) by svr4.postgresql.org (Postfix) with ESMTP id AF89E5AF32E for ; Thu, 1 Sep 2005 12:10:08 +0000 (GMT) Received: from amiindiahjwbgh ([10.0.0.205]) (authenticated bits=0) by venus.amiindia.co.in (8.12.10/8.12.11) with ESMTP id j81AXFI6006924; Thu, 1 Sep 2005 16:03:18 +0530 Message-ID: <01ad01c5aee1$dd839570$cd00000a@amiindiahjwbgh> From: "sandhya" To: "postgre" Cc: "sandhya" Subject: Reg:Connection Object Date: Thu, 1 Sep 2005 16:12:17 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01AA_01C5AF0F.ECA82560" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.063 required=5 tests=[AWL=-0.015, FORGED_RCVD_HELO=0.05, HTML_60_70=0.027, HTML_MESSAGE=0.001] X-Spam-Level: X-Archive-Number: 200509/1 X-Sequence-Number: 18738 This is a multi-part message in MIME format. ------=_NextPart_000_01AA_01C5AF0F.ECA82560 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, 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. For Ex:If i have say 3 functions: One function i use to connect to the database. In the other function, if i want to creat a table ...I need this = persistant connection object which holds the details of the dbname and = user etc. Pls..help me in solving this. Thank you very much Regards, Sandhya R ------=_NextPart_000_01AA_01C5AF0F.ECA82560 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
    How to pass = connection object=20 across the functions.So that there is no need for me to connect to = postgres=20 database in each and every function.
 
For Ex:If i have say 3 = functions:
 
One function i use to connect to the=20 database.
 
In the other function, if i want to = creat a table=20 ...I need this persistant connection object which holds the details of = the=20 dbname and user etc.
 
Pls..help me in solving = this.
Thank you very much
 
Regards,
Sandhya R
------=_NextPart_000_01AA_01C5AF0F.ECA82560--