Reg:Connection Object - Mailing list pgsql-admin

From sandhya
Subject Reg:Connection Object
Date
Msg-id 01ad01c5aee1$dd839570$cd00000a@amiindiahjwbgh
Whole thread Raw
Responses Re: Reg:Connection Object  (Michael Fuhr <mike@fuhr.org>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: auto vacuum settings
Next
From: "Bartek GRUbY"
Date:
Subject: Re: pg_dumpall problem - duplicated users