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

From David Hinkle
Subject Re: libpq, PQExecParams and the inserting of binary data
Date
Msg-id ae830e6c05060311056a897be4@mail.gmail.com
Whole thread Raw
In response to Re: libpq, PQExecParams and the inserting of binary data  ("Daniel Verite" <daniel@manitou-mail.org>)
Responses Re: libpq, PQExecParams and the inserting of binary data  ("Daniel Verite" <daniel@manitou-mail.org>)
List pgsql-interfaces
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
>
>


pgsql-interfaces by date:

Previous
From: David Hinkle
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