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 wrote:
Hi there,
we tried to create the libpqtypes enum binary send but it doesn't work:
// register types
PGregisterType use
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, user_def, 1, 0);
// enum_put throws format error
int enum_put (PGtypeArgs *