Re: Resource id #12

From: Andrew McMillan <andrew(at)catalyst(dot)net(dot)nz>
To: "Elijah O(dot) Alcantara" <elijah(at)asti(dot)dost(dot)gov(dot)ph>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: Resource id #12
Date: 2004-07-12 07:38:35
Message-ID: 1089617916.28514.135.camel@lamb.mcmillan.net.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

On Mon, 2004-07-12 at 13:20 +0800, Elijah O. Alcantara wrote:
> Mind if I ask another question? I've been logging errors lately and
> found a 'Resource id #12' in one of the query results, what does this
> mean?

That's what you get when you try and print something that shouldn't
really be printed. Generally complex objects where there is little
value implementing some more complex behaviour when passed to the print
routines.

Knowing the id# is about as useful as it can get, for when you need to
see if it's the same resource as a different whatever-it-is.

Cheers,
Andrew.

-------------------------------------------------------------------------
Andrew @ Catalyst .Net .NZ Ltd, PO Box 11-053, Manners St, Wellington
WEB: http://catalyst.net.nz/ PHYS: Level 2, 150-154 Willis St
DDI: +64(4)803-2201 MOB: +64(272)DEBIAN OFFICE: +64(4)499-2267
Make things as simple as possible, but no simpler -- Einstein
-------------------------------------------------------------------------

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Elijah O. Alcantara 2004-07-12 08:01:41 Re: Resource id #12
Previous Message Elijah O. Alcantara 2004-07-12 05:20:57 Resource id #12