pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: m.wetmore@secomintl.com <m.wetmore@secomintl.com>
To: pgsql-odbc@postgresql.org
Subject: Re: Unable to update JOIN'ed recordset with PSQLODBC 08.02.0400 and ADO
Date: Sat, 06 Oct 2007 20:24:52 -0700
Message-ID: <47085184.6000509@secomintl.com> (raw)



Hi,  new to this list, but may have an insight.  Off-chance you're using 
PostgresDAC ver. > 2.3.5?

DAC by default returns a read only data set.  This  was added to DAC in 
2.3.5.

Apparently, we developers are not allowed to control this on app.side 
anymore.

We've been using ( Delphi7/Dac2.3.3/8.0.2 w/SSL )and never had an issue. 
(300+ prod. servers out there)

So we make the plunge to develop on Vista (too bad !bash can't do this 
all!) and needed to update DAC.

We compile fine, sign into the db, read datasets, but cannot edit the 
data in our app.

with over 200 custom libpq c functions and 400+ delphi objects...we're 
in for a long overhaul.

Sorry for the possible cross post, but wanted to throw it out there jic.


/matthew - $m(dot)wetmore(at)secomintl(dot)com$


"Dmitry Samokhin" <sdld ( at ) mail ( dot ) ru> wrote in message 
news:f8plbo$2j47$1 ( at ) news ( dot ) hub ( dot ) org ( dot ) ( dot ) ( 
dot )

In the following environment:

WinXP SP2 + ADO + MS OLE DB Provider for ODBC drivers + PSQLODBC ANSI 
08.02.0400 I'm unable to update a recordset of JOIN'ed tables. The 
method 'rs("colname") = <new value>' started to fail with 08.02.0400, 
but it works fine with 08.02.0200. Something wrong with tables and 
columns metadata ADO gets from the driver, I suppose. My test suite 
included. Please note only columns from table t1 are loaded into the 
recordset, JOIN is used just for sorting rows.

Test suite:





view thread (5+ messages)

Message-ID: <47085184.6000509@secomintl.com>
Permalink:  ../47085184.6000509@secomintl.com/
Also on:    postgresql.org/message-id/47085184.6000509@secomintl.com

 · 

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 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: m.wetmore@secomintl.com
  Subject: Re: Unable to update JOIN'ed recordset with PSQLODBC 08.02.0400 and ADO
  In-Reply-To: <47085184.6000509@secomintl.com>
  References: <47085184.6000509@secomintl.com>

* 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