From: Shachar Shemesh <psql@shemesh.biz>
To: pgsql-odbc@postgresql.org
Subject: ODBC Open cursors on views
Date: Wed, 13 Aug 2003 13:58:47 +0300 (IDT)
Message-ID: <1060772327.3f3a19e7a647d@latenight.fiasco.org.il> (raw)
Hi all,
When trying to open a bidirectional cursor on a query that uses a view in the
from (i.e. - select * from "viewname"), the odbc driver returns an error
"Attribute ctid not found". The problem does not happen when I open a forward
only cursor.
It sounds to me like the ODBC driver uses the ctid in order to "find it's way
around". Views don't have that field, and hence the problem. Note: that
explanation was pure guesswork.
My questions are:
1. Is the above explanation correct?
2. Is this problem solveable through the ODBC driver?
Many thanks,
Shachar
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: psql@shemesh.biz
Subject: Re: ODBC Open cursors on views
In-Reply-To: <1060772327.3f3a19e7a647d@latenight.fiasco.org.il>
References: <1060772327.3f3a19e7a647d@latenight.fiasco.org.il>
* 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