Re: CREATE TABLESPACE WITH - Mailing list pgsql-hackers

From Vik Fearing
Subject Re: CREATE TABLESPACE WITH
Date
Msg-id 52D721C7.9090901@dalibo.com
Whole thread Raw
In response to Re: CREATE TABLESPACE WITH  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: CREATE TABLESPACE WITH  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On 01/15/2014 03:07 AM, Michael Paquier wrote:
> I just had a quick look at this patch, no testing at all.

Thank you for looking at it.

> I am seeing that regression tests are still missing here, they should be added in
> src/test/regress/input/tablespace.source.

New patch attached, with regression tests.

> Then, for the use of either
> WITH or SET... For example CREATE FUNCTION uses SET for a
> configuration parameter, and ALTER FUNCTION is consistent with that.
> So SET makes more sense to be consistent with CREATE TABLESPACE? This
> patch should not be modified once again as long as there are no more
> opinions though...

Based on your analysis of current behavior elsewhere, and the messier
patch with SET, I have switched my vote from ambivalent to preferring WITH.

--
Vik


Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: trgm regex index peculiarity
Next
From: Tom Lane
Date:
Subject: Re: [Lsf-pc] Linux kernel impact on PostgreSQL performance