Re: Alternate Datafile Location

From: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
To: Sam Stearns <sam(dot)stearns(at)dat(dot)com>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Alternate Datafile Location
Date: 2024-08-29 23:47:22
Message-ID: 27AD65D0-857C-440A-B2B3-CACD8BE12BD0@elevated-dev.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

You should take a step back and read the basic documentation on PG administration. For instance: https://www.postgresql.org/docs/16/creating-cluster.html

We (at least I) have been assuming that you wanted to create a new database cluster, to run a server against that storage, using initdb. Using an already running server to put data elsewhere, using createdb is different, and requires that you create a tablespace first: https://www.postgresql.org/docs/16/manage-ag-tablespaces.html

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Sam Stearns 2024-08-29 23:55:59 Re: Alternate Datafile Location
Previous Message David G. Johnston 2024-08-29 23:44:14 Re: Alternate Datafile Location