logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PQtypesRegister - Registers libpqtypes with the libpq event system.

Author

       A contribution of eSilo, LLC. for the PostgreSQL Database Management System.  Written by  Andrew  Chernow
       and Merlin Moncure.

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);

See Also