pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feedIncorrect commands in manual for 9.6
3+ messages / 3 participants
[nested] [flat]
* Incorrect commands in manual for 9.6
@ 2017-05-25 03:57 sundeep.sahoo@gmail.com
0 siblings, 1 reply; 3+ messages in thread
From: sundeep.sahoo@gmail.com @ 2017-05-25 03:57 UTC (permalink / raw)
To: pgsql-docs
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 "CREATEDB MYDB;", i got "ERROR: syntax error at or near
"createdb"". And when i execute "CREATE DATABASE MYDB;", it worked fine.
Same goes for dropdb command.
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Incorrect commands in manual for 9.6
@ 2017-05-26 05:32 David G. Johnston <david.g.johnston@gmail.com>
parent: sundeep.sahoo@gmail.com
0 siblings, 1 reply; 3+ messages in thread
From: David G. Johnston @ 2017-05-26 05:32 UTC (permalink / raw)
To: sundeep.sahoo@gmail.com <sundeep.sahoo@gmail.com>; +Cc: pgsql-docs
On Wednesday, May 24, 2017, <sundeep.sahoo@gmail.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 "CREATEDB MYDB;", i got "ERROR: syntax
> error at or near
> "createdb"". And when i execute "CREATE DATABASE
> MYDB;", 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.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Incorrect commands in manual for 9.6
@ 2017-05-26 05:34 sundeep sahoo <sundeep.sahoo@gmail.com>
parent: David G. Johnston <david.g.johnston@gmail.com>
0 siblings, 0 replies; 3+ messages in thread
From: sundeep sahoo @ 2017-05-26 05:34 UTC (permalink / raw)
To: David G. Johnston <david.g.johnston@gmail.com>; +Cc: pgsql-docs
Thank you for your help.
On 26-May-2017 11:02 AM, "David G. Johnston" <david.g.johnston@gmail.com>
wrote:
> On Wednesday, May 24, 2017, <sundeep.sahoo@gmail.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 "CREATEDB MYDB;", i got "ERROR: syntax
>> error at or near
>> "createdb"". And when i execute "CREATE DATABASE
>> MYDB;", 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.
>
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2017-05-26 05:34 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-05-25 03:57 Incorrect commands in manual for 9.6 sundeep.sahoo@gmail.com
2017-05-26 05:32 ` David G. Johnston <david.g.johnston@gmail.com>
2017-05-26 05:34 ` sundeep sahoo <sundeep.sahoo@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox