[geeklog-devel] postgresql and Geeklog 2.0.0b1
jmucchiello at yahoo.com
Thu Jul 5 21:34:05 EDT 2012
> "To create a database, you must be a superuser or have the special
> CREATEDB privilege."
> "The user must have the PostgreSQL superuser privilege to register a
> new language."
> When I create a new database for geeklog I am doing that step as a
The Geeklog install script doesn't run the create database command in pgsql, mysql or mssql. It assumes the database is already created in order to avoid the problem of needing create database privilege. Most shared hosts provide a runnable script that creates databases outside of the normal admin programs for the database. (This is how they limit users to 1, 3, 5 or some other number of databases.)
So perhaps instead the pgsql install just needs to check if the language is set on the database, attempt to create it if it isn't there, and failing that, explain what is needed to get it up and running. I really don't think Geeklog should take it on itself to modify "templates" in the database system. That is too far outside Geeklog's responsibilities to be mucking with.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the geeklog-devel