GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PQtypesRegister(3) libpqtypes Manual PQtypesRegister(3)

PQtypesRegister - Registers libpqtypes with the libpq event system.

#include <libpqtypes.h>

int PQtypesRegister(PGconn *conn);

THIS FUNCTION IS DEPRECATED. New applications should use PQinitTypes. This function is now a wrapper to PQinitTypes.

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.

The function returns zero if it fails and non-zero if it succeeds.

The examples shows how to register libpqtypes with the libpq event system.
/* call prior to any other libpqtypes functions that operate on conn. */
PQtypesRegister(conn);

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

Report bugs to <libpqtypes@esilo.com>.

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.

None

2011 libpqtypes

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.