Re: Resource id #12

From: "Elijah O(dot) Alcantara" <elijah(at)asti(dot)dost(dot)gov(dot)ph>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: Resource id #12
Date: 2004-07-12 08:01:41
Message-ID: 1089619301.13888.22.camel@Falcon
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Something that shouldn't be printed ... hmmm.. does the postgresql site
have a list of these Resource id's? I've been looking all over google
for this and found nothing. =(

Elijah

On Mon, 2004-07-12 at 15:38, Andrew McMillan wrote:
> 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 Christopher Kings-Lynne 2004-07-12 08:18:08 Re: Resource id #12
Previous Message Andrew McMillan 2004-07-12 07:38:35 Re: Resource id #12