Re: Persistent connect, how to close connection?

From: Date: Thu, 06 Jul 2000 14:23:15 +0000
Subject: Re: Persistent connect, how to close connection?
Groups: php.db 
Request: Send a blank email to php-db+get-898@lists.php.net to get a copy of this message
quick answer - as I'm no guru... but, pg_connect isn't a persistent connection (but this could just by your typo) however you can close a connection like this one with the pg_close(); function and if you use pg_pconnect you can't close the connection (wouldn't that kind of defeat the purpose of a persistent connection?) regards, eric³ :':':':':':':':':':':':':':':':':':':':':':':':':':':':':':':':':':':': :.: web developer . pixel pusher :.: http://www.GoGraphics.com :.: http://users.drak.net/zenlab :.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.: :.: www.ScreamDesign.com :.: the learning source for the next generation. :.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.: ----- Original Message ----- From: "Hanson, Donna" <dhanson@xperts.com> To: <php-db@lists.php.net> Sent: Thursday, July 06, 2000 8:55 AM Subject: [PHP-DB] Persistent connect, how to close connection? > Hi, > My script uses a pg_connect and does searches, adds, etc. On my Linux > server, I accumulate open processes which I have to go in and kill. What is > the recommended procedure for closing a persistent connection? Should it be > closed on each action page? > > Thanks, Donna > -- > Donna Hanson > Software Engineer > Xperts, Inc. > mailto:dhanson@xperts.com > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.db (#898) next »