Re: BUG #14058: Alternate storage path

Lists: Postg토토 결과SQL : Postg토토 결과SQL 메일 링리스트 : 2016-04-01 이후 PGSQL-BUGS 15:34
From: syspegasus(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #14058: Alternate storage path
Date: 2016-04-01 12:59:00
Message-ID: 20160401125900.4793.19822@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 14058
Logged by: Ágile
Email address: syspegasus(at)gmail(dot)com
PostgreSQL version: 9.4.0
Operating system: Windows
Description:

Hi, I need to create 2 databases, but I need to have different folder. For
exemplo:
database1 is located in 'C:\database1'
database2 is located in 'F:\database2'

The databases cant stay in the same folder.

There is a way to do this?


From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: syspegasus(at)gmail(dot)com
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14058: Alternate storage path
Date: 2016-04-01 15:34:38
Message-ID: CAKFQuwZzt9uB6mj0rp-OXYd18JcCxAgh1KODogQEtNfMgyQL7g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg토토 결과SQL : Postg토토 결과SQL 메일 링리스트 : 2016-04-01 이후 PGSQL-BUGS 15:34

On Fri, Apr 1, 2016 at 5:59 AM, <syspegasus(at)gmail(dot)com> wrote:

> The following bug has been logged on the website:
>
> Bug reference: 14058
> Logged by: Ágile
> Email address: syspegasus(at)gmail(dot)com
> PostgreSQL version: 9.4.0
> Operating system: Windows
> Description:
>
> Hi, I need to create 2 databases, but I need to have different folder. For
> exemplo:
> database1 is located in 'C:\database1'
> database2 is located in 'F:\database2'
>
> The databases cant stay in the same folder.
>
> There is a way to do this?

​This is not a bug report, please use pgsql-general​(at)postgresql(dot)org for
help requests.

That said, look at CREATE TABLESPACE in the documentation.

Also, note the difference between a "database" and a "cluster" in
PostgreSQL. The Server Application "initdb" creates the later.

David J.