Thread: pgsql-server/src/interfaces/libpq fe-connect.c

pgsql-server/src/interfaces/libpq fe-connect.c

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    03/10/02 16:52:44

Modified files:
    src/interfaces/libpq: fe-connect.c

Log message:
    Do not return from PQrequestCancel until postmaster has finished
    processing the request; this ensures that the request won't be taken
    to cancel a subsequently-issued query.  Race condition originally
    noted by Oliver Jowett in the context of JDBC, but libpq has it too.