Thread: pgsql: Add positive defense against trying to connect when the

pgsql: Add positive defense against trying to connect when the

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Add positive defense against trying to connect when the connection
option state hasn't been fully set up.  This is possible via PQreset()
and might occur in other code paths too, so a state flag seems the
most robust solution.  Per report from Arturs Zoldners.

Modified Files:
--------------
    pgsql/src/interfaces/libpq:
        fe-connect.c (r1.325 -> r1.326)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-connect.c.diff?r1=1.325&r2=1.326)
        libpq-int.h (r1.109 -> r1.110)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/libpq-int.h.diff?r1=1.109&r2=1.110)