pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Emmanuel Charpentier <charpent@bacbuc.dyndns.org>
To: pgsql-general@postgresql.org
To: pgsql-interfaces@postgresql.org
Cc: Oliver Elphick <olly@lfix.co.uk>
Subject: Strange error accessing *views* from Linux through ODBC
Date: Fri, 17 Jan 2003 13:44:10 +0100
Message-ID: <3E27FA9A.1030100@bacbuc.dyndns.org> (raw)

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.




view thread (2+ messages)  latest in thread

Message-ID: <3E27FA9A.1030100@bacbuc.dyndns.org>
Permalink:  ../3E27FA9A.1030100@bacbuc.dyndns.org/
Also on:    postgresql.org/message-id/3E27FA9A.1030100@bacbuc.dyndns.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: charpent@bacbuc.dyndns.org, pgsql-general@postgresql.org, olly@lfix.co.uk
  Subject: Re: Strange error accessing *views* from Linux through ODBC
  In-Reply-To: <3E27FA9A.1030100@bacbuc.dyndns.org>

* 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