Database in another drive - Mailing list pgsql-general

From Arbol One
Subject Database in another drive
Date
Msg-id BYAPR12MB2808D1E14F64E4E1CD45DD19BAEAA@BYAPR12MB2808.namprd12.prod.outlook.com
Whole thread Raw
Responses Re: Database in another drive
Re: Database in another drive
Re: Database in another drive
List pgsql-general
Is there a way to either create the database or save the data in another drive?

I am using Win11, not my choice since 1998, and, not surprisingly, the WinOS had a crash; I lost all kinds of information including PostgreSQL (postgres (PostgreSQL) 18.0), its databases, tables, data, etc., what a nightmare!
To not have this happen again, I'd like to create the databases in the E: drive or have the tables stored in that drive, please note that I am not talking about backing the data in the E: drive, but to actually have the databases in the E: drive. Can this be done and is it practical to do this?






pgsql-general by date:

Previous
From: David Barsky
Date:
Subject: Re: Option on `postgres` CLI to shutdown when there are no more active connections?
Next
From: John McKown
Date:
Subject: Re: Database in another drive