alter_tablespace.7

来自「PostgreSQL 8.2中增加了很多企业用户所需要的功能和性能上的提高,其开」· 7 代码 · 共 55 行

7
55
字号
.\\" auto-generated by docbook2man-spec $Revision: 1.1.1.1 $.TH "ALTER TABLESPACE" "" "2008-01-03" "SQL - Language Statements" "SQL Commands".SH NAMEALTER TABLESPACE \- change the definition of a tablespace.SH SYNOPSIS.sp.nfALTER TABLESPACE \fIname\fR RENAME TO \fInewname\fRALTER TABLESPACE \fIname\fR OWNER TO \fInewowner\fR.sp.fi.SH "DESCRIPTION".PP\fBALTER TABLESPACE\fR changes the definition ofa tablespace..PPYou must own the tablespace to use \fBALTER TABLESPACE\fR.To alter the owner, you must also be a direct or indirect member of the newowning role.(Note that superusers have these privileges automatically.).SH "PARAMETERS".TP\fB\fIname\fB\fRThe name of an existing tablespace..TP\fB\fInewname\fB\fRThe new name of the tablespace. The new name cannotbegin with pg_, as such namesare reserved for system tablespaces..TP\fB\fInewowner\fB\fRThe new owner of the tablespace..SH "EXAMPLES".PPRename tablespace index_space to fast_raid:.sp.nfALTER TABLESPACE index_space RENAME TO fast_raid;.sp.fi.PPChange the owner of tablespace index_space:.sp.nfALTER TABLESPACE index_space OWNER TO mary;.sp.fi.SH "COMPATIBILITY".PPThere is no \fBALTER TABLESPACE\fR statement inthe SQL standard..SH "SEE ALSO"CREATE TABLESPACE [\fBcreate_tablespace\fR(7)], DROP TABLESPACE [\fBdrop_tablespace\fR(l)]

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?