psql -l
psql --version
--
Thanks & Regards,
Ashesh Vashi
EnterpriseDB INDIA: Enterprise Postgres Company
On Fri, May 28, 2010 at 7:11 PM, zhenyang guo <concer.guo@xxxxxxxxx> wrote:
hi, i have a problem not knowing how to fix . the follwing are error information:
"
guo@guo-desktop:~$ su
Password:
root@guo-desktop:/home/guo# su - postgres
postgres@guo-desktop:~$ psql
psql: FATAL: database "postgres" does not exist
postgres@guo-desktop:~$ createdb test
createdb: could not connect to database postgres: FATAL: database "postgres" does not exist
"
i thought it was due to postgresql ,so i reinstall it ,still not work.
i search the problem from the internet, but don't get it .
need your help. thank you!