Re: Suggesting a libpq addition
Dmitry Igrishin <dmitigr@gmail.com>
From: Dmitriy Igrishin <dmitigr@gmail.com>
To: Andrew Chernow <ac@esilo.com>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, Magnus Hagander <magnus@hagander.net>, Marc Balmer <marc@msys.ch>, pgsql-hackers@postgresql.org
Date: 2010-12-06T06:23:19Z
Lists: pgsql-hackers
Hey Andrew,
No, thanks. :-)
And I don't think that libpq should follows it (libpqtypes).
2010/12/6 Andrew Chernow <ac@esilo.com>
>
> A varargs version of PQexecParams() would be handy, though. Imagine being
>> able
>> to do:
>>
>> PQexecVParams("SELECT * FROM mytable WHERE foo = $1 AND bar = $2", foovar,
>> barvar);
>>
>> instead of constructing an array for the variables.
>>
>>
> http://libpqtypes.esilo.com/man3/PQexecf.html
>
>
> --
> Andrew Chernow
> eSilo, LLC
> every bit counts
> http://www.esilo.com/
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>
--
// Dmitriy.