Re: libpq, PQExecParams and the inserting of binary data - Mailing list pgsql-interfaces

From Daniel Verite
Subject Re: libpq, PQExecParams and the inserting of binary data
Date
Msg-id 20050603195051.9437476@localhost
Whole thread Raw
In response to libpq, PQExecParams and the inserting of binary data  (David Hinkle <drachs@gmail.com>)
Responses Re: libpq, PQExecParams and the inserting of binary data
Re: libpq, PQExecParams and the inserting of binary data
List 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

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



pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: libpq, PQExecParams and the inserting of binary data
Next
From: David Hinkle
Date:
Subject: Re: libpq, PQExecParams and the inserting of binary data