X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id A154B9DC848 for ; Wed, 18 Jan 2006 05:40:34 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 04068-05 for ; Wed, 18 Jan 2006 05:40:35 -0400 (AST) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id 8AAF89DC814 for ; Wed, 18 Jan 2006 05:40:32 -0400 (AST) Received: from localhost (av.hub.org [200.46.204.144]) by pgfoundry.org (Postfix) with ESMTP id 651EA1033E4A; Wed, 18 Jan 2006 09:40:35 +0000 (GMT) Received: from pgfoundry.org ([200.46.204.130]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 01612-10; Wed, 18 Jan 2006 05:40:33 -0400 (AST) Received: by pgfoundry.org (Postfix, from userid 80) id 1E7521033E41; Wed, 18 Jan 2006 09:40:33 +0000 (GMT) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1000528 ] Link with Microsoft Access always broke Content-type: text/plain; charset=UTF-8 Message-Id: <20060118094033.1E7521033E41@pgfoundry.org> Date: Wed, 18 Jan 2006 09:40:33 +0000 (GMT) X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=-0.711 required=5 tests=[ALL_TRUSTED=-1.44, AWL=0.179, NO_REAL_NAME=0.55] X-Spam-Score: -0.711 X-Spam-Level: X-Archive-Number: 200601/168 X-Sequence-Number: 6983 Bugs item #1000528, was opened at 2006-01-17 20:26 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000528&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: Link with Microsoft Access always broke Initial Comment: I discovered an error with the psqlodbc's connection with Microsoft Access 2000. When I do any action that provoke an foreign key error, the odbc connection fails. I will describe the error's details below: 1) I created a database with 2 tables, PATIENT and EXAMINATION 2) I created the primary keys of the two tables. 3) I created the relationships between the two tables. PRIMARY KEY OF PATIENT - P_COD VARCHAR(10) PRIMARY KEY OF EXAMINATION - E_COD VARCHAR(10) PATIENT EXAMINATION ------- ----------- P_COD E_COD P_COD RELATIONSHIP PATIENT - EXAMINATION ON UPDATE CASCADE ON DELETE NO ACTION 4) I opened the Microsoft Access 2000 and I linked the two tables 5) I opened the PATIENT table in Microsoft Access 6) I tried to delete some rows 7) It appears a foreign key's error. But, after, the database breaks out. So I closed the table and I reopened it. I tried to delete any row and appears the foreign key's error and after appeared #Name in all columns. I closed the table and when I tried to reopen the table, the following error appears: ODBC -- call failed Error while executing the query; ERROR: current transaction is aborted, commands ignored until end of transaction block (#7) I need to close the Microsoft Access and reopen it for open the tables. Thanks for the opportunity. :) ---------------------------------------------------------------------- >Comment By: Ludek Finstrle (luf) Date: 2006-01-18 10:40 Message: I'm sorry you report few facts. We need more :-) What's your PgSQL and pslodbc version? It could be bug in implicit-rollback fix in 08.01.0107. I need mylog output at least (enabled in Global and DataSource too). It would be the best if you provide small test application (compiled - I had no MS Access). Feel free to send it to me directly. I attach it to this bug report. ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000528&group_id=1000125