Re: CREATE TABLESPACE WITH - Mailing list pgsql-hackers

From Vik Fearing
Subject Re: CREATE TABLESPACE WITH
Date
Msg-id 52D5E414.4060804@dalibo.com
Whole thread Raw
In response to Re: CREATE TABLESPACE SET  (David Fetter <david@fetter.org>)
Responses Re: CREATE TABLESPACE WITH  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On 12/26/2013 06:10 PM, David Fetter wrote:
> On Tue, Dec 24, 2013 at 07:25:01PM +0100, Vik Fearing wrote:
>> I was recently annoyed that I had to do
>>
>> CREATE TABLESPACE x LOCATION y;
>> ALTER TABLESPACE x SET (random_page_cost = z);
>>
>> The attached patch is a quick n' dirty extension to allow the SET
>> directly on the CREATE statement.
>>
>> CREATE TABLESPACE x LOCATION y SET (random_page_cost = z);
> That should probably be WITH instead of SET for consistency with other
> similar DDL.

Here is version 2 of the patch, which uses WITH instead of SET, and also
adds to the documentation.

--
Vik


Attachment

pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: GIN improvements part 1: additional information
Next
From: Tom Dunstan
Date:
Subject: Re: extension_control_path