RAL"
>PGEventProc</TT
> is a typedef for a pointer to an
       event procedure, that is, the user callback function that receives
       events from libpq.  The signature of an event procedure must be

</P><PRE
CLASS="SYNOPSIS"
>int eventproc(PGEventId evtId, void *evtInfo, void *passThrough)</PRE
><P>

       The <TT
CLASS="PARAMETER"
>evtId</TT
> parameter indicates which
       <TT
CLASS="LITERAL"
>PGEVT</TT
> event occurred.  The
       <TT
CLASS="PARAMETER"
>evtInfo</TT
> pointer must be cast to the a