Forum OpenACS Development: Create a new package question.

Collapse
Posted by jorge freitas on
I'm creating a new package for openacs, folowing the "Development Tutorial". I already done the create and drop scripts, but when i try to run the create script manally to add the tables and functions i get the folowing error:
[admin@dmeacs postgresql]$ psql -f ficha-disciplina-create.sql
psql: FATAL 1:  Database "admin" does not exist in the system catalog.
I think the problem is the fact that i'm not using an account whit the same name of the openacs service and database. Anyone knows how can i adapt the above for my case? Tanks.
Collapse
Posted by Ola Hansson on
psql -f ficha-disciplina-create.sql ???

                                     ^.....oO(just add the name of the database here)
/Ola
Collapse
Posted by jorge freitas on
Tanks.