initlocation on windows

Поиск
Список
Период
Сортировка
Искать

initlocation on windows

От:
"conor.mccarthy" <conor.mccarthy@gmail.com>
Дата:

I'm trying to use initlocation to create a database on a second hard disk
using a windows installation of postgresql. I can't find this initlocation
program anywhere. Is it possible to do on Windows? Can someone print me to a
copy of initlocation or tell me what I'm doing wrong please.

Many thanks

Conor
-- 
View this message in context: http://www.nabble.com/initlocation-on-windows-tp15739520p15739520.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Re: initlocation on windows

От:
Alvaro Herrera <alvherre@commandprompt.com>
Дата:
conor.mccarthy escribió:
> 
> I'm trying to use initlocation to create a database on a second hard disk
> using a windows installation of postgresql. I can't find this initlocation
> program anywhere. Is it possible to do on Windows? Can someone print me to a
> copy of initlocation or tell me what I'm doing wrong please.

initlocation hasn't existed since a few years.  The current way to do
what you want is to use CREATE TABLESPACE:
http://www.postgresql.org/docs/current/interactive/sql-createtablespace.html

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

Re: initlocation on windows

От:
"conor.mccarthy" <conor.mccarthy@gmail.com>
Дата:

Ah ha. Great, thanks.

Alvaro Herrera-7 wrote:
> 
> conor.mccarthy escribió:
>> 
>> I'm trying to use initlocation to create a database on a second hard disk
>> using a windows installation of postgresql. I can't find this
>> initlocation
>> program anywhere. Is it possible to do on Windows? Can someone print me
>> to a
>> copy of initlocation or tell me what I'm doing wrong please.
> 
> initlocation hasn't existed since a few years.  The current way to do
> what you want is to use CREATE TABLESPACE:
> http://www.postgresql.org/docs/current/interactive/sql-createtablespace.html
> 
> -- 
> Alvaro Herrera                               
> http://www.CommandPrompt.com/
> The PostgreSQL Company - Command Prompt, Inc.
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faq
> 
> 

-- 
View this message in context: http://www.nabble.com/initlocation-on-windows-tp15739520p15740840.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

FAQ