BYTEA Arrays Input and Output C example

From: Ruslan R(dot) Laishev <zator(at)yandex(dot)ru>
To: pgsql-novice <pgsql-novice(at)postgresql(dot)org>
Subject: BYTEA Arrays Input and Output C example
Date: 2017-10-24 11:10:37
Message-ID: 1682671508843437@web6j.yandex.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

<div>Hi All!</div><div> </div><div>Is there someone who can share a knowledge about: how to pass in/out array of argumens from C to stored procedures by using LIBPQ ?</div><div> </div><div>just for example I have SP like:</div><div> </div><div>zz (IN id::UUID, IN vols::UUID[], OUT k::BYTEA[]);</div><div> </div><div>What I'm need to put into "paramValues", "paramLength" of the PQexecPrepared() ?</div><div> </div><div> </div><div> </div><div> </div><div>-- </div><div>С уважением,<br />Ruslan R. Laishev</div><div>OpenVMS bigot, natural born system/network progger, C contractor.</div><div>+79013163222</div><div>+79910009922</div><div> </div>

Attachment Content-Type Size
unknown_filename text/html 669 bytes

Browse pgsql-novice by date

  From Date Subject
Next Message Stephen Froehlich 2017-10-24 18:04:38 Re: Issues shutting down PostgreSQL 10 cleanly
Previous Message Ruslan R. Laishev 2017-10-24 11:03:10 Re: LibPQ, C, BLOB or BYTEA