Search Postgresql Archives

Re: syntax errors at "line 1" when executing every command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steven De Vriendt wrote:
I'm using the latest postgreSQL with the lastest postgis.
When executing every command I want to use, I get the following error message: postgis=# createdb;
ERROR:  syntax error at or near "createdb"
LINE 1: createdb;

What other commands are you trying?

"createdb" is not a valid SQL or psql command. You're looking for CREATE DATABASE... or the "createdb" command line tool.

Colin

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
      message can get through to the mailing list cleanly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux