    to memory leaks.

</P><PRE
CLASS="SYNOPSIS"
>typedef struct
{
    PGresult *result;
} PGEventResultDestroy;</PRE
><P>

       When a <TT
CLASS="LITERAL"
>PGEVT_RESULTDESTROY</TT
> event is received, the
       <TT
CLASS="PARAMETER"
>evtInfo</TT
> pointer should be cast to a
       <TT
CLASS="STRUCTNAME"
>PGEventResultDestroy *</TT
>.  This event is fired
       prior to <CODE
CLASS="FUNCTION"
>PQclear</CODE
> performing any other cleanup.
       The return value of the event procedure is ignored since t