You mean : createdb ... ? I think no, you have to create it in postgres with createdb or pgAdminIII and then write the DAL connection string according to your created database : database name, username, password, etc.
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer?search=migrate#Connection-strings http://www.postgresql.org/docs/9.1/static/app-createdb.html If you start from scratch you will also have to master pg_hba.conf http://www.postgresql.org/docs/9.1/static/auth-pg-hba-conf.html and postgresql.confget http://www.postgresql.org/docs/9.1/static/tutorial-start.html https://help.ubuntu.com/community/PostgreSQL Good read!! Richard On Wed, Oct 2, 2013 at 9:49 AM, at <[email protected]> wrote: > > Is is possible to create a postgres database from web2py application? > > Thanks & Regards > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

