On 12.10.2007, at 18:56, Paul Johnston wrote:

BTW, with SA 0.4, this script should be able to work with no
database-specific hacks at all. If you're interesting in implementing this,
I can explain more.

Would be nice to hear more details about this.

With 0.4, dialects have a table_names() method that will do the job of
loader.py.

Some versions of AutoCode (although not 0.4 by the look of it) have
outputted generic types, rather than db-specific ones, e.g. Integer
rather than MSInteger. This can be done in a database independent way,
by going through the __mro__ of the specific type, until a type that
appears in types.py is encountered.

Nice - will check that and will come back to you if I have questions.

Simon


Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to