I installed PostgreSQL in Ubuntu 12.04, followed the usual steps and reached the ‘postgres=#’ prompt. Hereafter it is unresponsive to some commands. The commands like ‘\l’ works but is totally unresponsive to commands like ‘createuser’ and ‘createdb’. Did I miss to install some packages or simply what am I doing wrong here?
I installed PostgreSQL in Ubuntu 12.04, followed the usual steps and reached the ‘postgres=#’
Share
createuserandcreatedbare not SQL statements, they are helper scripts. You don’t run them in the Postgres command-line client (psql), you run them in your regular shell (e.g., in Bash).