Re: libpq, PQExecParams and the inserting of binary data

From: "Daniel Verite" <daniel(at)manitou-mail(dot)org>
To: "David Hinkle" <drachs(at)gmail(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: libpq, PQExecParams and the inserting of binary data
Date: 2005-06-03 17:54:52
Message-ID: 20050603195051.9437476@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

David Hinkle wrote:

> I am trying to insert binary data into a bytea column with
> PQExecParams. I couldn't find any documentation on using PQExecParams
> with binary parameters, do I tried to do it this way:
> [...]

This code snippet may help you getting started:

http://archives.postgresql.org/pgsql-general/2004-07/msg00875.php

--
Daniel
PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message David Hinkle 2005-06-03 18:04:11 Re: libpq, PQExecParams and the inserting of binary data
Previous Message Tom Lane 2005-06-03 17:48:38 Re: libpq, PQExecParams and the inserting of binary data