CREATE TABLESPACE SET - Mailing list pgsql-hackers

From Vik Fearing
Subject CREATE TABLESPACE SET
Date
Msg-id 52B9D17D.7010404@dalibo.com
Whole thread Raw
Responses Re: CREATE TABLESPACE SET
List 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

pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: ALTER SYSTEM SET command to change postgresql.conf parameters
Next
From: Kohei KaiGai
Date:
Subject: Re: sepgsql: label regression test failed