new behavior - Mailing list pgsql-novice

From stev knowles
Subject new behavior
Date
Msg-id 5.1.1.6.0.20021126102744.03990d08@pop3.norton.antivirus
Whole thread Raw
In response to Re: command length?  (Josh Berkus <josh@agliodbs.com>)
List pgsql-novice
i have an application. occasionally, a user will select Submit without
filling out any fields to search for. the lookup fails,and PQfinish(conn)
is called.

starting recently, when this happens, it seems that PQfinish() is not
setting conn to NULL, since my init() routine returns without connecting to
the database (upon entering, it only connects if (conn == (PGconn *)NULL)
). i looked thru the code, and free() is being called in freePGconn(PGconn
*conn), but my fist call to the database just exists, and takes the
application with it.

this *used* to work. the application has not been used in a few weeks, we
just added about 60 new records, and now there is interest.

any ideas would be appreciated.


pgsql-novice by date:

Previous
From: "paul butler"
Date:
Subject: Re: Tools: schema designer; scripts
Next
From: "Patrick Hatcher"
Date:
Subject: Re: importing DB2 timestamp?