Re: Alternate Datafile Location - Mailing list pgsql-admin

From David G. Johnston
Subject Re: Alternate Datafile Location
Date
Msg-id CAKFQuwYnEYcSPcfsqUMA8-cuZzRBmC2ZgXHkD5ROBreb+6OW2A@mail.gmail.com
Whole thread Raw
In response to Re: Alternate Datafile Location  (Sam Stearns <sam.stearns@dat.com>)
List pgsql-admin
On Thursday, August 29, 2024, Sam Stearns <sam.stearns@dat.com> wrote:
[postgres@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.

pgsql-admin by date:

Previous
From: Sam Stearns
Date:
Subject: Re: Alternate Datafile Location
Next
From: Scott Ribe
Date:
Subject: Re: Alternate Datafile Location