Re: PQParam version 0.5
От | Merlin Moncure |
---|---|
Тема | Re: PQParam version 0.5 |
Дата | |
Msg-id | b42b73150712051148vf9fdb25rf7f01750c1c299d2@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: PQParam version 0.5 (Alvaro Herrera <alvherre@alvh.no-ip.org>) |
Ответы |
Re: PQParam version 0.5
|
Список | pgsql-patches |
On Dec 5, 2007 2:44 PM, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote: > Andrew Chernow escribió: > > > Also changed PQputint8's prototype. Previously, it was using a void* as > > the value argument, due to a lack of a portable 64-bit type in libpq. We > > found an intersting way around this by using macro and variable argument > > tricks. > > I didn't read the patch, but variadic macros are not portable. FWIW > uint64 should "portable" to all platforms that have it (and it should be > 32 bits on platforms that don't), but you have to watch for > INT64_IS_BUSTED. we don't use variadic macros...just a macro wrapper to a variadic function. merlin
В списке pgsql-patches по дате отправления: