On Thursday, August 29, 2024, Sam Stearns <sam(dot)stearns(at)dat(dot)com> wrote:
> [postgres(at)thiludbapql01 ~]$ createdb baptest -D /PGDATA
> createdb: error: database creation failed: ERROR: tablespace "/PGDATA"
> does not exist
>
>
Clusters, created using initdb, are what interact with the file system.
Individual databases don’t. They exist within a cluster.
David J.