PQclearTypes man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

PQinitTypes(3)		       libpqtypes Manual		PQinitTypes(3)

NAME
       PQinitTypes - Initializes libpqtypes with the libpq event system.

SYNOPSIS
       #include <libpqtypes.h>

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

DESCRIPTION
       libpqtypes  makes  use  of the libpq Event System.  Before using libpq‐
       types, 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

libpqtypes			     2011			PQinitTypes(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net