From: | "Brett W(dot) McCoy" <bmccoy(at)lan2wan(dot)com> |
---|---|
To: | secret <secret(at)kearneydev(dot)com> |
Cc: | "'pgsql-interfaces(at)postgreSQL(dot)org'" <pgsql-interfaces(at)postgreSQL(dot)org> |
Subject: | Re: [INTERFACES] Perl Interface(Pg.pm) -- How to free $result |
Date: | 1999-03-09 04:26:15 |
Message-ID: | Pine.LNX.4.04.9903082325330.13804-100000@dragosani.lan2wan.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
On Mon, 8 Mar 1999, secret wrote:
> After doing a $result = $conn->exec("...") and using the $result how
> do I go about freeing the memory it takes up? The documentation said
> something about PQfree or somesuch, but then labeled it OLD STYLE ONLY,
> so what is the new style?
It's handled automatically by the object-oriented 'new style' of the
module.
Brett W. McCoy
http://www.lan2wan.com/~bmccoy/
-----------------------------------------------------------------------
Out of the mouths of babes does often come cereal.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GAT dpu s:-- a C++++ UL++++$ P+ L+++ E W++ N+ o K- w--- O@ M@ !V PS+++
PE Y+ PGP- t++ 5- X+ R+@ tv b+++ DI+++ D+ G++ e>++ h+(---) r++ y++++
------END GEEK CODE BLOCK------
From | Date | Subject | |
---|---|---|---|
Next Message | Eildert Groeneveld | 1999-03-09 07:04:10 | Bug in sortin routine? |
Previous Message | Thomas G. Lockhart | 1999-03-09 04:15:59 | Re: [INTERFACES] [off topic] Date and time fields |