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.

Cheers,
David.
-- 
David Fetter <da...@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fet...@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to