#3 DBConnection patch for postgres defaults

closed-accepted
nobody
Postgres (36)
5
2003-04-21
2003-04-21
No

Instead of using using eval to eval default values
obtained from the database metadata (which works until
one encouters something that is not a Python
expression), we use SQLBuilder.const:

kw['default'] =
getattr(SQLBuilder.const, defaultstr)

This also fixes the regular expression for foreign key
references.

Discussion

  • David M. Cook

    David M. Cook - 2003-04-21

    DBConnection patch for postgres defaults using const

     
  • Ian Bicking

    Ian Bicking - 2003-04-21
    • status: open --> closed-accepted
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks