Received: from u1.abs.net (root@u1.abs.net [207.114.0.131]) by hub.org (8.8.8/8.7.5) with ESMTP id QAA10344 for ; Wed, 12 Aug 1998 16:23:27 -0400 (EDT) Received: from insightdist.com (nobody@localhost) by u1.abs.net (8.9.0/8.9.0) with UUCP id QAA13757 for pgsql-interfaces@postgreSQL.org; Wed, 12 Aug 1998 16:15:01 -0400 (EDT) X-Authentication-Warning: u1.abs.net: nobody set sender to insightdist.com!byronn using -f Received: from ceodev by insightdist.com (AIX 3.2/UCB 5.64/4.03) id AA18271; Wed, 12 Aug 1998 16:03:09 -0400 Received: from byronn by ceodev (AIX 4.1/UCB 5.64/4.03) id AA51600; Wed, 12 Aug 1998 16:03:09 -0400 Message-Id: <35D1F4FF.507C87EA@insightdist.com> Date: Wed, 12 Aug 1998 16:03:11 -0400 From: Byron Nikolaidis X-Mailer: Mozilla 4.05 [en] (Win95; I) Mime-Version: 1.0 To: Bryan Brunton Cc: "'pgsql-interfaces@postgresql.org'" Subject: Re: [INTERFACES] Back-end problems with Delphi and ODBCExpress References: <316E0AE33DA6D1119E0D00400535C0A301EFBB@zarathustra.flesherfab.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Bryan Brunton wrote: > Although I've only found one other person using Delphi, ODBCExpress, and > Postgres, I thought I'd post this just to see if some one can provide > enlightenment: > > The source of the problem is setting the Active property on a Dataset > that > is linked to a grid while at the same time doing an update to that table > in a form's > show event. It appears that the active dataset and the update to the > table exert > some kind of lock on the table. I can't update or select after that. > In this locked > state, I can't view the table from MS Access or even select the records > from psql > (used from telnet to the database server) even after the Delphi app is > killed. The table > stays in this locked state for what seems to be a random amount of time, > usually > for a very long time forcing the postmaster to be restarted. I can > however view the > table properties from pgAdmin (the VB app). Turn OFF the Driver Option "Use Declare/Fetch" and see if that helps. Byron