Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group