Re: Hi,Frirends, are there any commands in pgsql/bin/ corresponding "create tablespace"? - Mailing list pgsql-general

From David Salisbury
Subject Re: Hi,Frirends, are there any commands in pgsql/bin/ corresponding "create tablespace"?
Date
Msg-id 5020032D.8080002@globe.gov
Whole thread Raw
In response to Re: Hi,Frirends, are there any commands in pgsql/bin/ corresponding "create tablespace"?  (Magnus Hagander <magnus@hagander.net>)
List pgsql-general

On 8/6/12 3:31 AM, Magnus Hagander wrote:
> On Mon, Aug 6, 2012 at 11:22 AM, sunpeng<bluevaley@gmail.com>  wrote:
>> Hi,Frirends,
>>    Are there any commands in pgsql/bin/ corresponding "create tablespace"?
>>    I know:
>>    createuser<==>  create role
>>    createdb<==>create database
>
> Hi!
>
> No, but you can always use:
> psql -c "create tablespace foo..."
>
>

Wouldn't a tablespace in Pg simply be a directory..  ?

pgsql-general by date:

Previous
From: Ben Chobot
Date:
Subject: Re: maximum number of databases and / or schemas in a single database instance
Next
From: Jeff Davis
Date:
Subject: Re: Range-Types in 9.2