pgsql: Add CREATE TABLESPACE ... WITH ... Options - Mailing list pgsql-committers

From Stephen Frost
Subject pgsql: Add CREATE TABLESPACE ... WITH ... Options
Date
Msg-id E1W4hlL-0003yW-Vm@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add CREATE TABLESPACE ... WITH ... Options

Tablespaces have a few options which can be set on them to give PG hints
as to how the tablespace behaves (perhaps it's faster for sequential
scans, or better able to handle random access, etc).  These options were
only available through the ALTER TABLESPACE command.

This adds the ability to set these options at CREATE TABLESPACE time,
removing the need to do both a CREATE TABLESPACE and ALTER TABLESPACE to
get the correct options set on the tablespace.

Vik Fearing, reviewed by Michael Paquier.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5254958e924cd54f33d37026d85483fef986060d

Modified Files
--------------
doc/src/sgml/ref/create_tablespace.sgml   |   23 ++++++++++++++++++++++-
src/backend/commands/tablespace.c         |   12 +++++++++++-
src/backend/nodes/copyfuncs.c             |    1 +
src/backend/nodes/equalfuncs.c            |    1 +
src/backend/parser/gram.y                 |    3 ++-
src/include/nodes/parsenodes.h            |    1 +
src/test/regress/input/tablespace.source  |   10 ++++++++++
src/test/regress/output/tablespace.source |   13 +++++++++++++
8 files changed, 61 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix VACUUM's reporting of dead-tuple counts to the stats collect
Next
From: Magnus Hagander
Date:
Subject: pgsql: Adjust the SSL connection notification message