DE
CLASS="FUNCTION"
>PQreset</CODE
> or <CODE
CLASS="FUNCTION"
>PQresetPoll</CODE
>.  In
       both cases, the event is only fired if the reset was successful.  If
       the event procedure fails, the entire connection reset will fail; the
       <TT
CLASS="STRUCTNAME"
>PGconn</TT
> is put into
       <TT
CLASS="LITERAL"
>CONNECTION_BAD</TT
> status and
       <CODE
CLASS="FUNCTION"
>PQresetPoll</CODE
> will return
       <TT
CLASS="LITERAL"
>PGRES_POLLING_FAILED</TT
>.

</P><PRE
CLASS="SYNOPSIS"
>typedef