New answers tagged postgres
It depends - mainly on the life cycle of your database(s) and the usage scenario. Creating the DB structures automatically makes sense if the database is used exclusively (or at least primarily) by your application you expect to have not just one database, but many different db instances of this structure in different places the database is used as some ...
It's generally considered a good idea to separate the environment setup from the main application. The usual practice for something like this is to have the database structures created by your installer or setup script. The application should not create its own structures, if it can help it. One reason to separate them might be if you have slightly ...
psyco is from http://psyco.sourceforge.net/ pg is postrgres. Python bindings to postgres using psyco.
Top 50 recent answers are included