Re: Incorrect commands in manual for 9.6

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "sundeep(dot)sahoo(at)gmail(dot)com" <sundeep(dot)sahoo(at)gmail(dot)com>
Cc: "pgsql-docs(at)postgresql(dot)org" <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Incorrect commands in manual for 9.6
Date: 2017-05-26 05:32:08
Message-ID: CAKFQuwZ9iwDttGiUoVvn0MAQadiG3HEBejhtHUZQ9ZjwGE2Htw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Wednesday, May 24, 2017, <sundeep(dot)sahoo(at)gmail(dot)com> wrote:

> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/9.6/static/tutorial-createdb.html
> Description:
>
> In the Postgresql Documentation manual for 9.6.3. I am using windows system
> and when i execute &quot;CREATEDB MYDB;&quot;, i got &quot;ERROR: syntax
> error at or near
> &quot;createdb&quot;&quot;. And when i execute &quot;CREATE DATABASE
> MYDB;&quot;, it worked fine.
> Same goes for dropdb command.
>
>
You run "createdb" in your operating system's shell. You run "create
database" with psql or some other SQL executing client. From your
description you appear to be in an SQL executing program hence createdb and
other command line applications will not work.

David J.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message sundeep sahoo 2017-05-26 05:34:39 Re: Incorrect commands in manual for 9.6
Previous Message smatsudajp 2017-05-26 03:31:28 envvar PGREALM seems no longer used