BUG #14058: Alternate storage path

Started by Sistema Ágileabout 10 years ago2 messagesbugs
Jump to latest
#1Sistema Ágile
syspegasus@gmail.com

The following bug has been logged on the website:

Bug reference: 14058
Logged by: Ágile
Email address: syspegasus@gmail.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?

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#2David G. Johnston
david.g.johnston@gmail.com
In reply to: Sistema Ágile (#1)
Re: BUG #14058: Alternate storage path

On Fri, Apr 1, 2016 at 5:59 AM, <syspegasus@gmail.com> wrote:

The following bug has been logged on the website:

Bug reference: 14058
Logged by: Ágile
Email address: syspegasus@gmail.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​@postgresql.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.