From: arjen Date: Sat, 4 Jun 2005 07:16:49 +0000 (+0000) Subject: New function to free the database result set. X-Git-Tag: V_0_0_10~24 X-Git-Url: http://www.andromeda.nl/gitweb/?p=gnucomo.git;a=commitdiff_plain;h=07b550b9ea18b0498433434719eb8539658b6dcc New function to free the database result set. --- diff --git a/src/phpclasses/db.postgres.php b/src/phpclasses/db.postgres.php index bbe7234..c8e3370 100644 --- a/src/phpclasses/db.postgres.php +++ b/src/phpclasses/db.postgres.php @@ -91,6 +91,11 @@ return $this->db_result; } + function Free($result) + { + pg_free_result($result); + } + function fetch_row($result = 0) {