-
- Downloads
"...postgres-lambda-diff.git" did not exist on "b1b246ab40faaba0cea515b2254bb12aa672417a"
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.
Showing
- doc/src/sgml/ref/create_tablespace.sgml 22 additions, 1 deletiondoc/src/sgml/ref/create_tablespace.sgml
- src/backend/commands/tablespace.c 11 additions, 1 deletionsrc/backend/commands/tablespace.c
- src/backend/nodes/copyfuncs.c 1 addition, 0 deletionssrc/backend/nodes/copyfuncs.c
- src/backend/nodes/equalfuncs.c 1 addition, 0 deletionssrc/backend/nodes/equalfuncs.c
- src/backend/parser/gram.y 2 additions, 1 deletionsrc/backend/parser/gram.y
- src/include/nodes/parsenodes.h 1 addition, 0 deletionssrc/include/nodes/parsenodes.h
- src/test/regress/input/tablespace.source 10 additions, 0 deletionssrc/test/regress/input/tablespace.source
- src/test/regress/output/tablespace.source 13 additions, 0 deletionssrc/test/regress/output/tablespace.source
Loading
Please register or sign in to comment