From: Lothar Behrens <lothar.behrens@lollisoft.de>
To: pgsql-odbc@postgresql.org
Subject: ODBC SQLSetPos Delete problem
Date: Thu, 23 Sep 2004 21:40:23 +0200
Message-ID: <200409232110.i8NL9vJ18090@jedi.behrens.de> (raw)
Hi,
just another 'another' question :-)
How do I reopen a new statement with the possible cursor
position near a deleted row ?
This possibliy would avoid the crash.
Another way to avoid this crash is a 'fake' deletion of
the selected row - based on the primary key of the table.
Idea: For simple tables, collect their pk's (names) and
store it in a pk table. Then on each 'deletion' mark only
a - possibly prior altered table (deleted (true/false)) -
field and modify the where clause for the intented query.
Any suggestions ?
Thanks
Lothar
---- My home: www.lollisoft.de -----------------------------
Lothar Behrens | Independent: lothar.behrens@gmx.de
Rosmarinstr 3 | My public project:
40235 Düsseldorf | http://sourceforge.net/projects/lbdmf
| -> Need comments, please visit :-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: lothar.behrens@lollisoft.de
Subject: Re: ODBC SQLSetPos Delete problem
In-Reply-To: <200409232110.i8NL9vJ18090@jedi.behrens.de>
References: <200409232110.i8NL9vJ18090@jedi.behrens.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox