alter_schema.7
来自「PostgreSQL 8.2中增加了很多企业用户所需要的功能和性能上的提高,其开」· 7 代码 · 共 42 行
7
42 行
.\\" auto-generated by docbook2man-spec $Revision: 1.1.1.1 $.TH "ALTER SCHEMA" "" "2008-01-03" "SQL - Language Statements" "SQL Commands".SH NAMEALTER SCHEMA \- change the definition of a schema.SH SYNOPSIS.sp.nfALTER SCHEMA \fIname\fR RENAME TO \fInewname\fRALTER SCHEMA \fIname\fR OWNER TO \fInewowner\fR.sp.fi.SH "DESCRIPTION".PP\fBALTER SCHEMA\fR changes the definition of a schema..PPYou must own the schema to use \fBALTER SCHEMA\fR.To rename a schema you must also have theCREATE privilege for the database.To alter the owner, you must also be a direct orindirect member of the new owning role, and you must have theCREATE privilege for the database.(Note that superusers have all these privileges automatically.).SH "PARAMETERS".TP\fB\fIname\fB\fRThe name of an existing schema..TP\fB\fInewname\fB\fRThe new name of the schema. The new name cannotbegin with pg_, as such namesare reserved for system schemas..TP\fB\fInewowner\fB\fRThe new owner of the schema..SH "COMPATIBILITY".PPThere is no \fBALTER SCHEMA\fR statement in the SQLstandard..SH "SEE ALSO"CREATE SCHEMA [\fBcreate_schema\fR(7)], DROP SCHEMA [\fBdrop_schema\fR(l)]
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?