Can someone please tell me how to quickly create a new pg database in latin1 format?
I already ran this successfully:
createdb --encoding='LATIN1' sinalbahia
But, I'm trying to apply it to a specific user name and cannot even list the postgresql databases
bash-3.00$ su - psql
bash: /bin/su: Permission denied
bash-3.00$ ls
ls: .: Permission denied
bash-3.00$ l
bash: l: command not found
[email protected] [~]# rpm -q postgresql
postgresql-8.2.1-1PGDG
I already ran this successfully:
createdb --encoding='LATIN1' sinalbahia
But, I'm trying to apply it to a specific user name and cannot even list the postgresql databases
bash-3.00$ su - psql
bash: /bin/su: Permission denied
bash-3.00$ ls
ls: .: Permission denied
bash-3.00$ l
bash: l: command not found
[email protected] [~]# rpm -q postgresql
postgresql-8.2.1-1PGDG