www.DNameTrade.com - the domain names for everybody: ".com", ".net", ".org" and ".info" - $11/year, ".us" and ".biz" - $10/year, ".ws" - $16/year. Also, the domain names ".cc", ".tv", ".be", ".jp" and more... Special Domain Names Transfer Pricing...
           
  Affordable Business Hosting

CPanel Login


Support
FAQ
Forums
HelpDesk
E-mail
Docs
Statistics
Network
Goodies
Free Trial!
Custom Plan!
Useful Links


 

pg_pconnect

(PHP 3, PHP 4 )

pg_pconnect -- Open a persistent PostgreSQL connection

Description

resource pg_pconnect ( string connection_string)

pg_pconnect() opens a connection to a PostgreSQL database. It returns a connection resource that is needed by other PostgreSQL functions.

For a description of the connection_string parameter, see pg_connect().

To enable persistent connection, the pgsql.allow_persistent php.ini directive must be set to "On" (which is the default). The maximum number of persistent connection can be defined with the pgsql.max_persistent php.ini directive (defaults to -1 for no limit). The total number of connections can be set with the pgsql.max_links php.ini directive.

pg_close() will not close persistent links generated by pg_pconnect().

See also pg_connect(), and the section Persistent Database Connections for more information.



 
  © 2004-2008 Hosting To Business (Hosting2B). Service Line, Inc.
2Checkout.com, Inc. is an authorized retailer of Hosting2B.com