Re: Alternate Datafile Location

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Sam Stearns <sam(dot)stearns(at)dat(dot)com>
Cc: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Alternate Datafile Location
Date: 2024-08-29 23:44:14
Message-ID: CAKFQuwYnEYcSPcfsqUMA8-cuZzRBmC2ZgXHkD5ROBreb+6OW2A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Ribe 2024-08-29 23:47:22 Re: Alternate Datafile Location
Previous Message Sam Stearns 2024-08-29 23:40:12 Re: Alternate Datafile Location