Re: libpq, PQExecParams and the inserting of binary data

From: David Hinkle <drachs(at)gmail(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: libpq, PQExecParams and the inserting of binary data
Date: 2005-06-03 18:09:05
Message-ID: ae830e6c050603110940b4fe1b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Oh, and another thing Daniel,

Is it neccissary to provide the OID of the other fields even though
they're provided in text format? I guess what I really need to
understand is what the OID field is and how to use it.

David

On 6/3/05, Daniel Verite <daniel(at)manitou-mail(dot)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
>
>

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Robert Perry 2005-06-03 18:28:14 Re: libpq, PQExecParams and the inserting of binary data
Previous Message David Hinkle 2005-06-03 18:05:35 Re: libpq, PQExecParams and the inserting of binary data