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 [email protected]
Whole thread Raw
In response to Re: libpq, PQExecParams and the inserting of binary data  ("Daniel Verite" <[email protected]>)
Responses Re: libpq, PQExecParams and the inserting of binary data
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 <[email protected]> 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