Re: libpq, PQExecParams and the inserting of binary data - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: libpq, PQExecParams and the inserting of binary data
Date
Msg-id 26431.1117897062@sss.pgh.pa.us
Whole thread Raw
In response to Re: libpq, PQExecParams and the inserting of binary data  (Volkan YAZICI <volkan.yazici@gmail.com>)
Responses Re: libpq, PQExecParams and the inserting of binary data  (Volkan YAZICI <volkan.yazici@gmail.com>)
List pgsql-interfaces
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


pgsql-interfaces by date:

Previous
From: Volkan YAZICI
Date:
Subject: Re: libpq, PQExecParams and the inserting of binary data
Next
From: Greg Stark
Date:
Subject: Re: DBD::Pg performance bites compared to DBD::mysql?