PostgreSQL does not support updateable cursors

Поиск
Список
Период
Сортировка
От Premsun Choltanwanich
Тема PostgreSQL does not support updateable cursors
Дата
Msg-id 47B19FE5.C5F7.004C.0@nsasia.co.th
обсуждение исходный текст
Список pgsql-general
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

NETsolutions Asia Limited

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SELECT CAST(123 AS char) -> 1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SPI_ERROR_CONNECT