Update of /cvsroot/modeling/ProjectModeling/Modeling/doc/www
In directory sc8-pr-cvs1:/tmp/cvs-serv2238/Modeling/doc/www
Modified Files:
bug861048.txt
Log Message:
Added instructions for bug#861048
Index: bug861048.txt
===================================================================
RCS file: /cvsroot/modeling/ProjectModeling/Modeling/doc/www/bug861048.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** bug861048.txt 20 Dec 2003 14:37:13 -0000 1.1
--- bug861048.txt 20 Dec 2003 15:21:02 -0000 1.2
***************
*** 59,73 ****
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
! Now if you use Postgresql and `psycopg`_, the problem is that this bug hits
! an other bug in psycopg v1.1.10 or earlier, where errors at commit time are
! silently ignored. As a consequence, if you save changes on an
! ``EditingContext`` which as an ``A`` in relation to a ``C``, the postgresql
database server will reject the commit (because of the buggy FK
! constraint). But `psycopg`_ silently ignores the exception, as a consequence
! **the changes appears to be safe but none of the changes was committed in the
! database**.
! For this reason, it is strongly recommended to `psycopg`_ users to upgrade
! their copy to v1.1.11 or higher
For more details, please refer the corresponding thread in the `psycopg
--- 59,75 ----
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
! Now if you use Postgresql and `psycopg`_, the problem is that this bug
! hits an other bug in psycopg v1.1.10 or earlier, where errors at commit
! time are silently ignored. As a consequence, if you save changes on an
! *EditingContext* which as an *A* in relation to a *C*, the postgresql
database server will reject the commit (because of the buggy FK
! constraint). But `psycopg`_ silently ignores the exception, as a
! consequence **the changes appears to be safe but none of the changes was
! committed in the database**.
! It is **strongly recommended** that `psycopg`_ users upgrade their copy
! with version 1.1.11 or higher; the framework uses constraints that are
! deferred, i.e. they are only checked at commit time, so it cannot rely
! on a db-adaptor that ignores error happening at commit time.
For more details, please refer the corresponding thread in the `psycopg
***************
*** 106,109 ****
--- 108,112 ----
test-models, *AuthorBooks* and *StoreEmployees*::
+ :*AuthorBooks* is not affected:
> cd Modeling
> python2.2 ./scripts/bug861048.py tests/testPackages/AuthorBooks/model_AuthorBooks.xml
|