creating a database

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: raf(dot)meeusen(at)gmail(dot)com
Subject: creating a database
Date: 2025-02-02 09:25:37
Message-ID: 173848833746.1071.1393591399711817136@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/17/tutorial-createdb.html
Description:

Dear,

I was reading intro to setup of postgresql, and looking at
https://www.postgresql.org/docs/current/tutorial-createdb.html#TUTORIAL-CREATEDB

Regarding the sentence "To create a new database, in this example named
mydb, you use the following command:"
I guess this is on the server side, in a Linux shell or similar?
But it is not explicitly stated, and this section comes right after
explanation of client-server.

I think this should be clarified in the text.
And what also could be clarified: can a database only be created on the
server side?
Or is there also a client (SQL) command to create a new database on the
server?

best regards,
Raf

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message David G. Johnston 2025-02-02 15:35:44 Re: creating a database
Previous Message Daniel Westermann (DWE) 2025-01-31 10:46:37 Ordering of statistic views