From: Tom Lane <tgl@sss.pgh.pa.us>
To: Volkan YAZICI <volkan.yazici@gmail.com>
Cc: Daniel Verite <daniel@manitou-mail.org>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: libpq, PQExecParams and the inserting of binary data
Date: Sat, 04 Jun 2005 10:57:42 -0400
Message-ID: <26431.1117897062@sss.pgh.pa.us> (raw)
In-Reply-To: <7104a737050604065267a108b@mail.gmail.com>
References: <7104a73705060401222c6cc5d2@mail.gmail.com>
<20050604153734.8397528@uruguay>
<7104a737050604065267a108b@mail.gmail.com>
Volkan YAZICI <volkan.yazici@gmail.com> writes:
> So, this means, user _has_to_ specify the size of input while using
> binary data.
You expected something different? libpq could hardly assume that
strlen() is the way to find out the length of a binary parameter.
regards, tom lane
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: tgl@sss.pgh.pa.us, volkan.yazici@gmail.com, daniel@manitou-mail.org
Subject: Re: libpq, PQExecParams and the inserting of binary data
In-Reply-To: <26431.1117897062@sss.pgh.pa.us>
* 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