Reg:Connection Object

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux