Re: creating a database

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "raf(dot)meeusen(at)gmail(dot)com" <raf(dot)meeusen(at)gmail(dot)com>, "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: creating a database
Date: 2025-02-02 15:35:44
Message-ID: CAKFQuwbpAOvQTVSYzUQJM_NkDJwYA3DVy=N=McibCUJMkpUhmA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Sunday, February 2, 2025, PG Doc comments form <noreply(at)postgresql(dot)org>
wrote:
>
> I guess this is on the server side, in a Linux shell or similar?
>
> I think this should be clarified in the text.

We haven’t even mentioned psql yet, aside from the conventions page where
we cover $ means a shell prompt.

> 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?

The description of createdb explains it is a wrapper for the “create
database” sql command.

If I am to add anything it would probably be on the “architecture
fundamentals” page. The points brought up are not specific to createdb and
probably should be explained up-front as to the fact we have wrapped a
number of SQL utility commands for the DBA as executable programs.

David J.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2025-02-02 15:53:14 Re: creating a database
Previous Message PG Doc comments form 2025-02-02 09:25:37 creating a database