pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedStrange error accessing *views* from Linux through ODBC
2+ messages / 2 participants
[nested] [flat]
* Strange error accessing *views* from Linux through ODBC
@ 2003-01-17 12:44 Emmanuel Charpentier <charpent@bacbuc.dyndns.org>
0 siblings, 1 reply; 2+ messages in thread
From: Emmanuel Charpentier @ 2003-01-17 12:44 UTC (permalink / raw)
To: pgsql-general@postgresql.org; pgsql-interfaces; +Cc: Oliver Elphick <olly@lfix.co.uk>
Dear list,
Due to a problem related to updates of views through rules, I bit the
bullet and installed Pg 7.3.1. I use Debian (mostly Woody, a. k. a. stable)
; after some attempts to install the Woody version, I installed the sid
versions.
From Windows (I'm using OpenOffice to access a Linux PostgreSQL database
through the experimental ODBC3 drive, Dec 17 2002 version), nothing has
changed : I still can't update a view (I thought the problem I had might be
related to 7.2 not returning the number of rows updated). More on this
later, after I have time to create a log ...
From Linux (Same setup, using the official ODBC driver as packaged by
Oliver Elphick for Debian Sid, a. k. a. unstable along with unixodbc), I
can access tables, but no views. When I try to use a view, OpenAccess
returns me an error message box asserting that "Can't update data contents.
[unixODBC] Error: Attribute "ctid" not found". I don't even get a read-only
access to data.
I am suspecting a serious ODBC problem. Do you have any hints ?
Sincerely,
Emmanuel Charpentier
PS : Please Cc: me your answers : I do not follow the list on a regular
basis, and read it through the nntp interface. E. C.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [INTERFACES] Strange error accessing *views* from Linux through ODBC
@ 2003-01-17 23:20 Hiroshi Inoue <Inoue@tpf.co.jp>
parent: Emmanuel Charpentier <charpent@bacbuc.dyndns.org>
0 siblings, 0 replies; 2+ messages in thread
From: Hiroshi Inoue @ 2003-01-17 23:20 UTC (permalink / raw)
To: Emmanuel Charpentier <charpent@bacbuc.dyndns.org>; +Cc: pgsql-general@postgresql.org, pgsql-interfaces@postgresql.org, Oliver Elphick <olly@lfix.co.uk>
Emmanuel Charpentier wrote:
>
> Dear list,
>
> Due to a problem related to updates of views through rules, I bit the
> bullet and installed Pg 7.3.1. I use Debian (mostly Woody, a. k. a. stable)
> ; after some attempts to install the Woody version, I installed the sid
> versions.
>
> From Windows (I'm using OpenOffice to access a Linux PostgreSQL database
> through the experimental ODBC3 drive, Dec 17 2002 version), nothing has
> changed : I still can't update a view (I thought the problem I had might be
> related to 7.2 not returning the number of rows updated). More on this
> later, after I have time to create a log ...
>
> From Linux (Same setup, using the official ODBC driver as packaged by
> Oliver Elphick for Debian Sid, a. k. a. unstable along with unixodbc), I
> can access tables, but no views. When I try to use a view, OpenAccess
> returns me an error message box asserting that "Can't update data contents.
> [unixODBC] Error: Attribute "ctid" not found". I don't even get a read-only
> access to data.
>
> I am suspecting a serious ODBC problem. Do you have any hints ?
Try to turn off the *Updatable cursors* DSN option or
create view the_table as ctid, oid, .......
regards,
Hiroshi Inoue
http://www.geocities.jp/inocchichichi/psqlodbc/
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2003-01-17 23:20 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-01-17 12:44 Strange error accessing *views* from Linux through ODBC Emmanuel Charpentier <charpent@bacbuc.dyndns.org>
2003-01-17 23:20 ` Hiroshi Inoue <Inoue@tpf.co.jp>
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