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.