X-Original-To: pgsql-odbc@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 4B7CA475BEC for ; Mon, 3 Feb 2003 09:00:17 -0500 (EST) Received: from patan.sun.com (patan.Sun.COM [192.18.98.43]) by postgresql.org (Postfix) with ESMTP id 1BF864762C6 for ; Mon, 3 Feb 2003 08:57:11 -0500 (EST) Received: from hamburg-mail1.germany.sun.com ([129.157.136.18]) by patan.sun.com (8.9.3+Sun/8.9.3) with ESMTP id GAA01986 for ; Mon, 3 Feb 2003 06:57:13 -0700 (MST) Received: from sun.com (oj-1 [10.16.64.156]) by hamburg-mail1.germany.sun.com (8.11.6+Sun/8.10.2/ENSMAIL, v2.1p1) with ESMTP id h13DvC807325 for ; Mon, 3 Feb 2003 14:57:12 +0100 (MET) Message-ID: <3E3E7536.9060702@sun.com> Date: Mon, 03 Feb 2003 14:57:10 +0100 From: Ocke Janssen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030119 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: OpenOffice and PostgreSQL: query with inner join Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/5 X-Sequence-Number: 2623 Hello, my name is Ocke Janssen. I'm a developer of the database component in OpenOffice and I encounter a problem (BUG) we have when executing a query which contains two tables with a primary key. The statement looks like this: SELECT "test1"."name", "test1_1"."name" FROM "test1" "test1", "test1" "test1_1" WHERE ( "test1"."id" = "test1_1"."id" ) When setting the statement attributes to KeysetDriven, I get the error message that CTID is ambiguous. As far as I could see in the moment the problem is in the fucntion inner_process_tokens in file convert.c where CTID is added to the statemement. Is this problem known? Best regards, Ocke -- dba.OpenOffice.org Example isn't another way to teach, it is the only way to teach. Albert Einstein