From: David Hinkle <drachs@gmail.com>
To: pgsql-interfaces@postgresql.org
Subject: Re: libpq, PQExecParams and the inserting of binary data
Date: Fri, 3 Jun 2005 13:05:35 -0500
Message-ID: <ae830e6c05060311056a897be4@mail.gmail.com> (raw)
In-Reply-To: <20050603195051.9437476@localhost>
References: <ae830e6c05060309182201f85b@mail.gmail.com>
<20050603195051.9437476@localhost>
Thankyou very much Daniel,
I will try this. Out of curiosity, where does the value of 17 for the
OID field come from?
David
On 6/3/05, Daniel Verite <daniel@manitou-mail.org> wrote:
> 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
>
>
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: drachs@gmail.com
Subject: Re: libpq, PQExecParams and the inserting of binary data
In-Reply-To: <ae830e6c05060311056a897be4@mail.gmail.com>
* 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