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

From: Michael Glaesemann <michael(dot)glaesemann(at)myyearbook(dot)com>
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:13:45
Message-ID: 7EE73BEE-E0C0-4E1C-A450-D07A3E6D0FE9@myyearbook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 2008-02-28, at 3:42 PM, Steven De Vriendt wrote:

> Hi list,
>
> 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;

createdb is a command line application. You're looking for the CREATE
DATABASE SQL command:

http://www.postgresql.org/docs/8.3/interactive/sql-createdatabase.html

Michael Glaesemann
michael(dot)glaesemann(at)myyearbook(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Kynn Jones 2008-02-28 21:14:46 "Consider compacting this relation..." ???
Previous Message Alvaro Herrera 2008-02-28 21:08:06 Re: partitioning using dblink