Hello!
I created another private branch and commited my changes for Postgres
7.2:
http://svn.colorstudy.com/home/phd/SQLObject/postgres-7.2/sqlobject/postgres/pgconnection.py
I added DROP SEQUENCE to dtopTable() and partially implemented
columnsFromSchemaOld().
With this changes test_sqlobject.py gave only 3 failures! Two of them
are ALTER TABLE ... DROP COLUMN, which is unsupported by Postgres 7.2.
Unfixable.
The third failure is
TypeError: Lazy.set() got an unexpected keyword argument driver
in test_sqlobject.py, line 1160. Of course it must:
class Lazy(SQLObject):
_lazyUpdate = True
name = StringCol()
other = StringCol(default='nothing')
third = StringCol(default='third')
There is no column "driver". I will remove that part of the test in the
trunk - we've decided to not allow non-columns keywords in .set().
But it is never too late to redecide ;)
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ ph...@ph...
Programmers don't die, they just GOSUB without RETURN.
On Mon, Dec 06, 2004 at 04:41:29PM +0300, Oleg Broytmann wrote:
> There is no column "driver". I will remove that part of the test in the
> trunk - we've decided to not allow non-columns keywords in .set().
Commited at revision 447.
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ ph...@ph...
Programmers don't die, they just GOSUB without RETURN.