pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Perl Interface(Pg.pm) -- How to free $result
2+ messages / 2 participants
[nested] [flat]

* Perl Interface(Pg.pm) -- How to free $result
@ 1999-03-08 23:24  secret <secret@kearneydev.com>
  0 siblings, 1 reply; 2+ messages in thread

From: secret @ 1999-03-08 23:24 UTC (permalink / raw)
  To: pgsql-interfaces

    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?




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [INTERFACES] Perl Interface(Pg.pm) -- How to free $result
@ 1999-03-09 04:26  Brett W. McCoy <bmccoy@lan2wan.com>
  parent: secret <secret@kearneydev.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Brett W. McCoy @ 1999-03-09 04:26 UTC (permalink / raw)
  To: secret <secret@kearneydev.com>; +Cc: 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------




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~1999-03-09 04:26 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-03-08 23:24 Perl Interface(Pg.pm) -- How to free $result secret <secret@kearneydev.com>
1999-03-09 04:26 ` Brett W. McCoy <bmccoy@lan2wan.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox