Re: [INTERFACES] Perl Interface(Pg.pm) -- How to free $result - Mailing list pgsql-interfaces

From Brett W. McCoy
Subject Re: [INTERFACES] Perl Interface(Pg.pm) -- How to free $result
Date
Msg-id Pine.LNX.4.04.9903082325330.13804-100000@dragosani.lan2wan.com
Whole thread Raw
In response to Perl Interface(Pg.pm) -- How to free $result  (secret <secret@kearneydev.com>)
List 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------


pgsql-interfaces by date:

Previous
From: "Thomas G. Lockhart"
Date:
Subject: Re: [INTERFACES] [off topic] Date and time fields
Next
From: Michael Meskes
Date:
Subject: Re: [INTERFACES] Counting updates with libpq