Re: [HACKERS] Enum binary access

2012-09-26 Thread Petr Chmelar
Hi Merlin, thanks, your code works perfectly. Cheers, Petr On 10.9.2012 16:33, Merlin Moncure wrote: On Mon, Sep 10, 2012 at 8:42 AM, Petr Chmelar chmel...@fit.vutbr.cz wrote: Hi there, we tried to create the libpqtypes enum binary send but it doesn't work: // register types

Re: [HACKERS] Enum binary access

2012-09-10 Thread Merlin Moncure
On Mon, Sep 10, 2012 at 8:42 AM, Petr Chmelar chmel...@fit.vutbr.cz wrote: Hi there, we tried to create the libpqtypes enum binary send but it doesn't work: // register types PGregisterType user_def[] = { {seqtype, enum_put, enum_get} }; PQregisterTypes(connector-getConn(), PQT_USERDEFINED,