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


Manual Reference Pages  -  PQINITTYPES (3)

NAME

PQinitTypes - Initializes libpqtypes with the libpq event system.

CONTENTS

Synopsis
Description
Return Value
Examples
     Initializing libpqtypes
Author
Reporting Bugs
Copyright
See Also

SYNOPSIS

#include <libpqtypes.h>

int PQinitTypes(PGconn *conn);
int PQclearTypes(PGconn *
conn);

DESCRIPTION

libpqtypes makes use of the libpq Event System. Before using libpqtypes, you must initialize libpqtypes as a libpq EventProc. The PQinitTypes function takes a PGconn that libpqtypes will be initialized with; each PGconn requires its own initialization.

PQclearTypes removes all registered types from the given PGconn. A good use for this is after a PQresetXXX call when it might be desired to re-register all types that may have gone stale.

RETURN VALUE

PQinitTypes and PQclearTypes return zero if it fails and non-zero if it succeeds.

EXAMPLES

    Initializing libpqtypes

The examples shows how to initialize libpqtypes with the libpq event system.

/* call prior to any other libpqtypes functions that operate on conn. */ PQinitTypes(conn);

AUTHOR

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

REPORTING BUGS

Report bugs to <libpqtypes@esilo.com>.

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.

SEE ALSO

None

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


libpqtypes PQINITTYPES (3) 2011

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