From: Daniel Verite <daniel@manitou-mail.org>
To: David Hinkle <drachs@gmail.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: libpq, PQExecParams and the inserting of binary data
Date: Fri, 03 Jun 2005 21:29:14 +0200
Message-ID: <20050603212513.1148667@localhost> (raw)
In-Reply-To: <ae830e6c050603110940b4fe1b@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: daniel@manitou-mail.org, drachs@gmail.com
Subject: Re: libpq, PQExecParams and the inserting of binary data
In-Reply-To: <20050603212513.1148667@localhost>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox