i have an application. occasionally, a user will select Submit without
filling out any fields to search for. the lookup fails,and PQfinish(conn)
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.
In response to
pgsql-novice by date
|Next:||From: Patrick Hatcher||Date: 2002-11-26 16:42:30|
|Subject: Re: importing DB2 timestamp?|
|Previous:||From: paul butler||Date: 2002-11-26 09:34:26|
|Subject: Re: Tools: schema designer; scripts|