IDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="LIBPQ-EVENTS"
>31.13. Event System</A
></H1
><P
>   <SPAN
CLASS="APPLICATION"
>libpq</SPAN
>'s event system is designed to notify
   registered event handlers about interesting
   <SPAN
CLASS="APPLICATION"
>libpq</SPAN
> events, such as the creation or
   destruction of <TT
CLASS="STRUCTNAME"
>PGconn</TT
> and
   <TT
CLASS="STRUCTNAME"
>PGresult</TT
> objects.  A principal use case is that
   this allows applications to associate their own d