pgsql: Add positive defense against trying to connect when the

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Add positive defense against trying to connect when the
Дата
Msg-id 20060213223357.9CFCB9DC993@postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: IMHO, --single-transaction should wrap *all* the commands in
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: pgsql: Add psql option: -1 or --single-transaction