pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Keary Suska <hierophant@pcisys.net>
To: Postgres-Interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: libpq PQexecParams and arrays
Date: Tue, 06 Jun 2006 17:35:48 -0600
Message-ID: <C0AB6D74.2B1F0%hierophant@pcisys.net> (raw)
In-Reply-To: <44858134.3030504@tronet.ru>

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"




view thread (6+ messages)  latest in thread

Message-ID: <C0AB6D74.2B1F0%hierophant@pcisys.net>
Permalink:  ../C0AB6D74.2B1F0%25hierophant@pcisys.net/
Also on:    postgresql.org/message-id/C0AB6D74.2B1F0%hierophant@pcisys.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: hierophant@pcisys.net
  Subject: Re: libpq PQexecParams and arrays
  In-Reply-To: <C0AB6D74.2B1F0%hierophant@pcisys.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox