pgsql: Add positive defense against trying to connect when the

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add positive defense against trying to connect when the
Date: 2006-02-13 22:33:57
Message-ID: 20060213223357.9CFCB9DC993@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2006-02-14 01:46:24 Re: pgsql: Add psql option: -1 or --single-transaction
Previous Message Tom Lane 2006-02-13 21:30:19 pgsql: IMHO, --single-transaction should wrap *all* the commands in