Re: [PHP-DB] connection to database

2001-04-12 Thread Yasuo Ohgaki
esql just kept spawning backends ... > > using non-persistent connections eeemded a better deal ... > > Steve > > > -Original Message- > > From: Sharmad Naik [mailto:[EMAIL PROTECTED]] > > Sent: 11 April 2001 19:59 > > To: [EMAIL PROTECTED] > >

RE: [PHP-DB] connection to database

2001-04-12 Thread Steve Brett
L PROTECTED] > Subject: [PHP-DB] connection to database > > > Hi, > While writing dynamic pages I use pg_connect to connect > to the database. > I wanted to know whether i alway need to close database > connection or while > closing the FORM or going to ano

Re: [PHP-DB] connection to database

2001-04-11 Thread Yasuo Ohgaki
PHP takes care of closing it, just like other resources. However, it seems there is bug in closing none persistent PgSQL link in current version. 4.0.5 hopefully fix this. Regards, -- Yasuo Ohgaki "Sharmad Naik" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

[PHP-DB] connection to database

2001-04-11 Thread Sharmad Naik
Hi, While writing dynamic pages I use pg_connect to connect to the database. I wanted to know whether i alway need to close database connection or while closing the FORM or going to another page does the connect close automatically. Is pg_close necessary to be given ? -- The se