Re: [SQLObject] Re: Postgres: DROP table CASCADE
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Ian B. <ia...@co...> - 2004-11-29 18:06:26
|
Oleg Broytmann wrote: > On Mon, Nov 29, 2004 at 10:58:26AM -0600, Ian Bicking wrote: > >>Maybe we have to do a version check on the pg server, though > > > The atached patch does the job. I can commit it, if no one objects. Can you move the server version into a method (serverVersion()), and use an if statement in dropTable (instead of or/and conditionals)? > PS. After fixing it I've got an amazing number of exceptions and > failures during the test. It seems no one has ran the test suite for > quite some time, at least on Postgres! I was just running it without problems. Actually there's a transaction problem that only occurs when I run all the tests in sequence, and I don't understand it. But otherwise it's fine. Maybe it's more problems with 7.2? -- Ian Bicking / ia...@co... / http://blog.ianbicking.org |