pgsql: Add positive defense against trying to connect when the - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Add positive defense against trying to connect when the
Date
Msg-id 20060213223357.9CFCB9DC993@postgresql.org
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: IMHO, --single-transaction should wrap *all* the commands in
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: pgsql: Add psql option: -1 or --single-transaction