alter_operator.7

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

7
53
字号
.\\" auto-generated by docbook2man-spec $Revision: 1.1.1.1 $.TH "ALTER OPERATOR" "" "2008-01-03" "SQL - Language Statements" "SQL Commands".SH NAMEALTER OPERATOR \- change the definition of an operator.SH SYNOPSIS.sp.nfALTER OPERATOR \fIname\fR ( { \fIlefttype\fR | NONE } , { \fIrighttype\fR | NONE } ) OWNER TO \fInewowner\fR.sp.fi.SH "DESCRIPTION".PP\fBALTER OPERATOR\fR changes the definition ofan operator. The only currently available functionality is to change theowner of the operator..PPYou must own the operator to use \fBALTER OPERATOR\fR.To alter the owner, you must also be a direct or indirect member of the newowning role, and that role must have CREATE privilege onthe operator's schema. (These restrictions enforce that altering the ownerdoesn't do anything you couldn't do by dropping and recreating the operator.However, a superuser can alter ownership of any operator anyway.).SH "PARAMETERS".TP\fB\fIname\fB\fRThe name (optionally schema-qualified) of an existing operator..TP\fB\fIlefttype\fB\fRThe data type of the operator's left operand; writeNONE if the operator has no left operand..TP\fB\fIrighttype\fB\fRThe data type of the operator's right operand; writeNONE if the operator has no right operand..TP\fB\fInewowner\fB\fRThe new owner of the operator..SH "EXAMPLES".PPChange the owner of a custom operator a @@ b for type \fBtext\fR:.sp.nfALTER OPERATOR @@ (text, text) OWNER TO joe;.sp.fi.SH "COMPATIBILITY".PPThere is no \fBALTER OPERATOR\fR statement inthe SQL standard..SH "SEE ALSO"CREATE OPERATOR [\fBcreate_operator\fR(7)], DROP OPERATOR [\fBdrop_operator\fR(l)]

⌨️ 快捷键说明

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