Skip site navigation (1) Skip section navigation (2)

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

From: Colin Wetherbee <cww(at)denterprises(dot)org>
To: Steven De Vriendt <gisaalter(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: syntax errors at "line 1" when executing every command
Date: 2008-02-28 21:03:44
Message-ID: 47C721B0.8080703@denterprises.org (view raw or flat)
Thread:
Lists: pgsql-general
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

In response to

pgsql-general by date

Next:From: Thomas KellererDate: 2008-02-28 21:04:37
Subject: Re: syntax errors at "line 1" when executing every command
Previous:From: Steven De VriendtDate: 2008-02-28 20:42:00
Subject: syntax errors at "line 1" when executing every command

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group