From c9c80ec457593e417cf48d1f27f6bd29c9ca6049 Mon Sep 17 00:00:00 2001 From: James Moore Date: Sat, 19 Aug 2000 19:34:27 +0000 Subject: [PATCH] Added note to pg_close about automatic closing of non persistant connections and it being impossible to close persistant connections with pg_close. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@30529 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/pgsql.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/functions/pgsql.xml b/functions/pgsql.xml index 02e8d48f01..c3b599bfc2 100644 --- a/functions/pgsql.xml +++ b/functions/pgsql.xml @@ -111,6 +111,15 @@ otherwise. Closes down the connection to a PostgreSQL database associated with the given connection index. + + This isn't usually necessary, as non-persistent open + links are automatically closed at the end of the script's + execution. + + + pg_close will not close persistent links + generated by pg_pconnect. +