Re: Resource id #12 - Mailing list pgsql-php

From Elijah O. Alcantara
Subject Re: Resource id #12
Date
Msg-id 1089619301.13888.22.camel@Falcon
Whole thread Raw
In response to Re: Resource id #12  (Andrew McMillan <andrew@catalyst.net.nz>)
Responses Re: Resource id #12
Re: Resource id #12
List 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
> -------------------------------------------------------------------------


pgsql-php by date:

Previous
From: Andrew McMillan
Date:
Subject: Re: Resource id #12
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: Resource id #12