X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 27BD0D1B18F for ; Mon, 12 Jul 2004 05:01:50 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 82757-07 for ; Mon, 12 Jul 2004 08:01:53 +0000 (GMT) Received: from kimi.asti.dost.gov.ph (kimi.asti.dost.gov.ph [202.90.128.26]) by svr1.postgresql.org (Postfix) with ESMTP id 424A2D1B1DC for ; Mon, 12 Jul 2004 05:01:44 -0300 (ADT) Received: from falcon.asti.dost.gov.ph (unknown [10.10.5.200]) by kimi.asti.dost.gov.ph (Postfix) with ESMTP id D621A2381C0 for ; Mon, 12 Jul 2004 15:40:23 +0800 (PHT) Subject: Re: Resource id #12 From: "Elijah O. Alcantara" To: pgsql-php@postgresql.org In-Reply-To: <1089617916.28514.135.camel@lamb.mcmillan.net.nz> References: <1089340768.18180.9.camel@Falcon> <1089596732.11624.3.camel@Falcon> <1089598566.11624.12.camel@Falcon> <1089609656.13888.9.camel@Falcon> <1089617916.28514.135.camel@lamb.mcmillan.net.nz> Content-Type: text/plain Message-Id: <1089619301.13888.22.camel@Falcon> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 12 Jul 2004 16:01:41 +0800 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/19 X-Sequence-Number: 2844 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 > -------------------------------------------------------------------------