pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dmitry Samokhin <sdld@mail.ru>
To: pgsql-odbc@postgresql.org
Subject: Re: Unable to update JOIN'ed recordset with PSQLODBC 08.02.0400 and ADO
Date: Tue, 2 Oct 2007 14:21:53 +0400
Message-ID: <fdt62n$2ujq$1@news.hub.org> (raw)
References: <f8plbo$2j47$1@news.hub.org>
	<fdqftk$160q$1@news.hub.org>
	<06e601c8044b$0cc89770$c601a8c0@HP22720319231>

Thanks for your attention and a workaround!
Investigating different types of queries returning the required result I 
found out that it fails even on
"SELECT ... FROM t1 CROSS JOIN t2 WHERE t1.b = t2.b ..." although the 
documentation states:

7.2.1.1. Joined Tables
...
FROM T1 CROSS JOIN T2 is equivalent to FROM T1, T2. It is also equivalent to 
FROM T1 INNER JOIN T2 ON TRUE (see below).
...

Unfortunately, my simple suite is mainly for the community to easily 
reproduce the problem. In our real applications, we need to utilize OUTER 
joins also.

Since the PostgreSQL next release, 8.3, is on the way now and requires 
focusing developers' attention on, please feel free to put all this into the 
background; I've risen it up in order to not forget completely :))

Regards,
Dmitry.


""Hiroshi Saito"" <z-saito@guitar.ocn.ne.jp> wrote in message 
news:06e601c8044b$0cc89770$c601a8c0@HP22720319231...
> Hi.
>
> Sorry, very late reaction....Surely it reproduces a problem. It seems that 
> it was missed at the time of some problem solutions. Probably, It seems to 
> be MOLE-BASHING completely.:-(
>
> However, The following is the one solution method....
>
> ' strSql = "SELECT t1.* FROM t1 INNER JOIN t2 ON t1.b = t2.b ORDER BY 
> t2.c"
>  strSql = "SELECT t1.* FROM t1,t2 WHERE t1.b = t2.b ORDER BY t2.c"
>
> But, Investigation will be continued.
> I appreciate your perseverance. Thanks!
>
> Regards,
> Hiroshi Saito
>





view thread (5+ messages)  latest in thread

Message-ID: <fdt62n$2ujq$1@news.hub.org>
Permalink:  ../fdt62n$2ujq$1@news.hub.org/
Also on:    postgresql.org/message-id/fdt62n$2ujq$1@news.hub.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 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: sdld@mail.ru
  Subject: Re: Unable to update JOIN'ed recordset with PSQLODBC 08.02.0400 and ADO
  In-Reply-To: <fdt62n$2ujq$1@news.hub.org>
  References: <f8plbo$2j47$1@news.hub.org> <fdqftk$160q$1@news.hub.org> <06e601c8044b$0cc89770$c601a8c0@HP22720319231> <fdt62n$2ujq$1@news.hub.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