CREATE TABLESPACE SET

From: Vik Fearing <vik(dot)fearing(at)dalibo(dot)com>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: CREATE TABLESPACE SET
Date: 2013-12-24 18:25:01
Message-ID: 52B9D17D.7010404@dalibo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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);

If people think this is a good idea, I'll clean it up, add
documentation, and submit it to the next commitfest.

--
Vik

Attachment Content-Type Size
create_tablespace_set_v1.patch text/x-diff 4.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kohei KaiGai 2013-12-24 20:34:39 Re: sepgsql: label regression test failed
Previous Message Fujii Masao 2013-12-24 18:08:41 Re: ALTER SYSTEM SET command to change postgresql.conf parameters