Re: ignore errors for COPY [solved] - Mailing list pgsql-general

From Vangelis Katsikaros
Subject Re: ignore errors for COPY [solved]
Date
Msg-id 4CDD10F7.60701@yahoo.gr
Whole thread Raw
In response to Re: ignore errors for COPY [solved]  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgsql-general
On 11/11/2010 08:15 PM, Guillaume Lelarge wrote:
>>
>> I would like to create a specific database on a another location (not in
>> "data_directory = '/var/lib/postgresql/8.3/main'" ). I was wondering if
>> I have to run
>> initdb -D /other/path/
>>
>> of if there is another way
>>
>
> To create another database in another location, you first need to create
> a tablespace, and then create a database in that tablespace. For
> example, in psql:
>
> CREATE TABLESPACE otherlocation LOCATION '/some/specific/directory';
> CREATE DATABASE newdb TABLESPACE otherlocation;

Hey thanks again, that did the job :)

pgsql-general by date:

Previous
From: Dmitriy Igrishin
Date:
Subject: Re: More then 1600 columns?
Next
From: Allan Kamau
Date:
Subject: Re: Considering Solid State Drives