Re: libpq, PQExecParams and the inserting of binary data

From: "Daniel Verite" <daniel(at)manitou-mail(dot)org>
To: "David Hinkle" <drachs(at)gmail(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: libpq, PQExecParams and the inserting of binary data
Date: 2005-06-03 19:29:14
Message-ID: 20050603212513.1148667@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

David Hinkle wrote:

> 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.

As far as I understand, no it's not necessary. 0 instead of an
OID in the paramTypes array is fine for any parameter as long
as the type of this parameter can be correctly guessed by the
server at execution time.

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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Volkan YAZICI 2005-06-04 08:22:38 Re: libpq, PQExecParams and the inserting of binary data
Previous Message Daniel Verite 2005-06-03 19:20:00 Re: libpq, PQExecParams and the inserting of binary data