X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 015E49FA3A6 for ; Tue, 6 Jun 2006 20:36:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 20488-07 for ; Tue, 6 Jun 2006 20:35:52 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from marsha.pcisys.net (marsha.pcisys.net [216.229.32.146]) by postgresql.org (Postfix) with ESMTP id 212E79FA0E5 for ; Tue, 6 Jun 2006 20:35:52 -0300 (ADT) Received: from [192.168.0.101] (dsl-206-53-17-71.cos.pcisys.net [206.53.17.71]) by marsha.pcisys.net (8.13.3/8.13.3) with ESMTP id k56NZn6E010528 for ; Tue, 6 Jun 2006 17:35:49 -0600 (MDT) User-Agent: Microsoft-Entourage/10.1.4.030702.0 Date: Tue, 06 Jun 2006 17:35:48 -0600 Subject: Re: libpq PQexecParams and arrays From: Keary Suska To: Postgres-Interfaces Message-ID: In-Reply-To: <44858134.3030504@tronet.ru> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/3 X-Sequence-Number: 6144 on 6/6/06 7:20 AM, slynko@tronet.ru purportedly said: > I wish to call PQexecParams with array of uint32_t values. > I've tried to use example from src/test/examples/testlibpq3.c, but with > no effect - it's unusable for input array. > > Have anyone an idea, how it can be done? Have you tried passing all parameters, including especially the appropriate paramTypes and paramFormats parameters? I believe that doing this should permit libpq to understand binary data. Best, Keary Suska Esoteritech, Inc. "Demystifying technology for your home or business"