[Gfoss] createlang

Salve a tutti,

cercando di creare un db sto seguendo passo passo un tutorial....da terminale
digito:

postgres@toro-laptop:/home/toro$ createuser grass -P
Enter password for new role:
Enter it again:
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) y
Shall the new role be allowed to create more new roles? (y/n) n
postgres@toro-laptop:/home/toro$ createdb spearpg -O grass -h localhost -U
grass
Password:
postgres@toro-laptop:/home/toro$ createlang plpgsql spearpg -U grass
createlang: could not connect to database spearpg: FATAL: Ident
authentication failed for user "grass"

come mai arrivato a createlang mi da sempre errore??

Matteo Toro

PS Lara, pensavo uscisse in automatico il nome! :slight_smile: