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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-general by date

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