PQtypesRegister - Registers libpqtypes with the libpq event system.
Contents
Copyright
Copyright (c) 2011 eSilo, LLC. All rights reserved.
This is free software; see the source for copying conditions. There is NO warranty; not even for
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Deprecated
THIS FUNCTION IS DEPRECATED. New applications should use PQinitTypes. This function is now a wrapper to
PQinitTypes.
Description
libpqtypes makes use of the libpq Event System. Before using libpqtypes, you must register libpqtypes as
a libpq EventProc. The function takes a PGconn that libpqtypes will be registered with; each PGconn
requires its own registration.
Examples
Registeringlibpqtypes
The examples shows how to register libpqtypes with the libpq event system.
/*callpriortoanyotherlibpqtypesfunctionsthatoperateonconn.*/PQtypesRegister(conn);Name
PQtypesRegister - Registers libpqtypes with the libpq event system.
Reporting Bugs
Report bugs to <libpqtypes@esilo.com>.
Return Value
The function returns zero if it fails and non-zero if it succeeds.
See Also
None
libpqtypes 2011 PQtypesRegister(3)
Synopsis
#include<libpqtypes.h>intPQtypesRegister(PGconn*conn);
