Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 00B3F2E00E3 for ; Mon, 3 Mar 2008 13:56:26 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 60587-03 for ; Mon, 3 Mar 2008 13:56:25 -0400 (AST) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id 894A12E00C7 for ; Mon, 3 Mar 2008 13:56:25 -0400 (AST) Received: from localhost (unknown [200.46.204.187]) by pgfoundry.org (Postfix) with ESMTP id 9934617ADCC8; Mon, 3 Mar 2008 17:56:25 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 21828-02; Mon, 3 Mar 2008 13:56:23 -0400 (AST) Received: by pgfoundry.org (Postfix, from userid 80) id 44ACC17ADCC4; Mon, 3 Mar 2008 17:56:24 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1010308 ] Updatability regression after 08020200 Content-type: text/plain; charset=UTF-8 Message-Id: <20080303175624.44ACC17ADCC4@pgfoundry.org> Date: Mon, 3 Mar 2008 17:56:24 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/4 X-Sequence-Number: 9420 Bugs item #1010308, was opened at 2008-03-03 18:56 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010308&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Pedro Gimeno (pgimeno) Assigned to: Nobody (None) Summary: Updatability regression after 08020200 Initial Comment: In version 08_02_0200, the following query was updatable: SELECT tbl1.pk, tbl1.data FROM tbl1 INNER JOIN tbl2 ON tbl1.fk = tbl2.pk ; In public releases 08_02_0300 and above, that query is no longer updatable. Incidentally, the same happens with this query: SELECT tbl1.pk, tbl1.data FROM tbl1 -- INNER JOIN tbl2 ON tbl1.fk = tbl2.pk ; even if the join is commented out as denoted by the "--". We need those kinds of queries (the first kind, not the commented out one) to be updatable because that way we can restrict the query using fields from tbl2 by means of a WHERE clause. We've had to downgrade the version to 08_02_0200. ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010308&group_id=1000125