ODBC Cursor inserting records appears to lock the database

From: Stodge <stodge(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: ODBC Cursor inserting records appears to lock the database
Date: 2010-11-12 19:50:33
Message-ID: cb20bac0-f0d9-4a76-b19d-1a6c27eb35f6@v28g2000prn.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I have an external script (not maintained by me) that is using an ODBC
driver to insert data into one of my databases. The COMMIT appears to
take less than one second but closing the cursor takes 13s. It also
appears to be locking the database as a whole. Does this sound like a
feasible situation with cursors? I don't know why the script is using
cursors but next week I'll tackle the developer and ask if they can
try alternatives. Thanks

Browse pgsql-novice by date

  From Date Subject
Next Message Donald Kerr 2010-11-12 20:00:13 Postgres Wishlist
Previous Message Tom Lane 2010-11-12 16:12:16 Re: returning clause on triggers