Re: [SQL] Question about PQexecParams

2010-09-30 Thread Kenneth Marshall
On Thu, Sep 30, 2010 at 10:30:16PM +0400, Dmitriy Igrishin wrote: > Hey Kenneth, > > Thank you for solution. But sorry, personally, I don't clearly > understand the benefits of this code compared with using > simple array literals or even array constructors... > Conversion "overheads" from text? D

Re: [SQL] Question about PQexecParams

2010-09-30 Thread Dmitriy Igrishin
Hey Kenneth, Thank you for solution. But sorry, personally, I don't clearly understand the benefits of this code compared with using simple array literals or even array constructors... Conversion "overheads" from text? Doubtfully... -- // Dmitriy.

Re: [SQL] Question about PQexecParams

2010-09-30 Thread Kenneth Marshall
Hi Steve, I am going to follow-up to this post so that the results will be available to other PostgreSQL users. Here is a simple example program for binary transmission of an int8 array using native libpq functions and not the libpqtypes: ---native_binarray_dspam.c-- /* *