PostgreSQL does not support updateable cursors

From: "Premsun Choltanwanich" <Premsun(at)nsasia(dot)co(dot)th>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: PostgreSQL does not support updateable cursors
Date: 2008-02-12 06:33:51
Message-ID: 47B19FFE.C5F7.004C.0@nsasia.co.th
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Dear All,

I got error message 'ERROR: column "ctid" does not exist; Error while executing the query' when I try to query SELECT on my VIEW as 'rsSystem.Open "SELECT * FROM v_memocatlist ORDER BY memocategory", connSystem, adOpenStatic, adLockOptimistic'.

I found some information on internet about the PostgreSQL does not support updateable cursors so I change my code to be read only cursors as 'rsSystem.Open "SELECT * FROM v_memocatlist ORDER BY memocategory", connSystem, adOpenForwardOnly, adLockReadOnly' then it work fine. However, I need to use this query for make data ready to be updated on some record.

How can I fix this problem?

More Information about my system.
Database: PostgreSQL 8.3
ODBC: psqlODBC 08.03.0100
Language: MS Visual Basic 6.0

Regards,
Premsun

NETsolutions Asia Limited
+66 (2) 237 7247
http://www.nsasia.co.th

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Bryce Nesbitt 2008-02-12 08:22:20 Backward compatibility psql 8.1 to 8.2
Previous Message Tom Lane 2008-02-11 17:35:00 Re: Usage of UUID with 8.3 (Windows)