pgsql: Add positive defense against trying to connect when the

Поиск
Список
Период
Сортировка
Искать

pgsql: Add positive defense against trying to connect when the

От:
tgl@postgresql.org (Tom Lane)
Дата:
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)
FAQ