Re: libpq PQexecParams and arrays

From: Keary Suska <hierophant(at)pcisys(dot)net>
To: Postgres-Interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: libpq PQexecParams and arrays
Date: 2006-06-06 23:35:48
Message-ID: C0AB6D74.2B1F0%hierophant@pcisys.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

on 6/6/06 7:20 AM, slynko(at)tronet(dot)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"

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Keary Suska 2006-06-07 16:05:32 Re: libpq PQexecParams and arrays
Previous Message Harry Hehl 2006-06-06 21:48:36 Re: Libpq PQExecParams returns null