Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 845669FB328 for ; Wed, 7 Feb 2007 10:58:59 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 88500-04 for ; Wed, 7 Feb 2007 10:58:30 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by postgresql.org (Postfix) with ESMTP id 4973B9FB24E for ; Wed, 7 Feb 2007 10:58:36 -0400 (AST) Received: by ug-out-1314.google.com with SMTP id k3so183164ugf for ; Wed, 07 Feb 2007 06:58:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jqAssOn6iuL4WBspnNH0d09qg1crwFKKTUxRMjy35q1MNV1f02ej69KQ7zlQyFEYroVKajh3DUW385K2lRmlzcEDF26NMzwZwiYhVUDIGJJh+LjtTZVFMoFs6sB8/fcmR5f9PRRYwHAiMS+Z7Hk9neYPXXAL0qFqai96u8dnZp4= Received: by 10.78.160.2 with SMTP id i2mr2503348hue.1170860314189; Wed, 07 Feb 2007 06:58:34 -0800 (PST) Received: by 10.78.90.3 with HTTP; Wed, 7 Feb 2007 06:58:34 -0800 (PST) Message-ID: <302670f20702070658vb0913e2xa51d153ddbe5b34d@mail.gmail.com> Date: Wed, 7 Feb 2007 09:58:34 -0500 From: "Gary Chambers" To: "Vincent de Phily" Subject: Re: pg_[un]escape_bytea, pgsql 8.2.1, php 5.1.6, Linux Cc: pgsql-php@postgresql.org In-Reply-To: <200702051101.40315.vdephily@bluemetrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <302670f20702011827x28d9a689m388b2c8a703f31af@mail.gmail.com> <302670f20702022009x417a210fm5e0fa36d860a225@mail.gmail.com> <200702051101.40315.vdephily@bluemetrix.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/12 X-Sequence-Number: 3695 Vincent... > This would be a problem related to php, not postgres. I'm handling binary data > in parameterized and COPY queries just fine with c++. I'm not ruling-out PHP, but I've seen claims of pg_[un]escape_bytea being only wrappers to the Pg functions. -- Gary Chambers // Nothing fancy and nothing Microsoft!