ALTER OPERATOR CLASS(7) PostgreSQL 9.2.7 Documentation ALTER OPERATOR CLASS(7)NAME
ALTER_OPERATOR_CLASS - change the definition of an operator class
SYNOPSIS
ALTER OPERATOR CLASS name USING index_method RENAME TO new_name
ALTER OPERATOR CLASS name USING index_method OWNER TO new_owner
ALTER OPERATOR CLASS name USING index_method SET SCHEMA new_schema
DESCRIPTION
ALTER OPERATOR CLASS changes the definition of an operator class.
You must own the operator class to use ALTER OPERATOR CLASS. To alter the owner, you must also be a direct or indirect member of the new
owning role, and that role must have CREATE privilege on the operator class's schema. (These restrictions enforce that altering the owner
doesn't do anything you couldn't do by dropping and recreating the operator class. However, a superuser can alter ownership of any operator
class anyway.)
PARAMETERS
name
The name (optionally schema-qualified) of an existing operator class.
index_method
The name of the index method this operator class is for.
new_name
The new name of the operator class.
new_owner
The new owner of the operator class.
new_schema
The new schema for the operator class.
COMPATIBILITY
There is no ALTER OPERATOR CLASS statement in the SQL standard.
SEE ALSO
CREATE OPERATOR CLASS (CREATE_OPERATOR_CLASS(7)), DROP OPERATOR CLASS (DROP_OPERATOR_CLASS(7)), ALTER OPERATOR FAMILY
(ALTER_OPERATOR_FAMILY(7))
PostgreSQL 9.2.7 2014-02-17 ALTER OPERATOR CLASS(7)
Check Out this Related Man Page
ALTER OPERATOR(7) PostgreSQL 9.2.7 Documentation ALTER OPERATOR(7)NAME
ALTER_OPERATOR - change the definition of an operator
SYNOPSIS
ALTER OPERATOR name ( { left_type | NONE } , { right_type | NONE } ) OWNER TO new_owner
ALTER OPERATOR name ( { left_type | NONE } , { right_type | NONE } ) SET SCHEMA new_schema
DESCRIPTION
ALTER OPERATOR changes the definition of an operator. The only currently available functionality is to change the owner of the operator.
You must own the operator to use ALTER OPERATOR. To alter the owner, you must also be a direct or indirect member of the new owning role,
and that role must have CREATE privilege on the operator's schema. (These restrictions enforce that altering the owner doesn't do anything
you couldn't do by dropping and recreating the operator. However, a superuser can alter ownership of any operator anyway.)
PARAMETERS
name
The name (optionally schema-qualified) of an existing operator.
left_type
The data type of the operator's left operand; write NONE if the operator has no left operand.
right_type
The data type of the operator's right operand; write NONE if the operator has no right operand.
new_owner
The new owner of the operator.
new_schema
The new schema for the operator.
EXAMPLES
Change the owner of a custom operator a @@ b for type text:
ALTER OPERATOR @@ (text, text) OWNER TO joe;
COMPATIBILITY
There is no ALTER OPERATOR statement in the SQL standard.
SEE ALSO
CREATE OPERATOR (CREATE_OPERATOR(7)), DROP OPERATOR (DROP_OPERATOR(7))
PostgreSQL 9.2.7 2014-02-17 ALTER OPERATOR(7)
Hello experts,
I need to solve the problem stated below:
1.have to search for " operator.java" file and rename it to as OPERATOR.java
2.Also I have to change the following line inside the file:
public class operator----->public class OPERATOR
the only thing that i can think is... (2 Replies)
Hello!
I have 5 servers running FreeBSD (6.0 - 7.0) and on each server I have about 800 user accounts. I created a new class in /etc/login.conf and now I want to change the class for each user. Do you have any ideea on how may I do this automaticaly? It is a little bit too much for me to use... (1 Reply)
Hi,
Please clear the 2 questions,
2 Questions,
1) Why the new as a operator? Is there any special reason why it can't be a function like malloc?
2) How are we considering sizeof(),new are as a opearartors? I know + - * / -> , . etc.. are operators, which criteria satisfied by sizeof()... (4 Replies)
Hi All,
In C++ one operator can be overloaded, but it can't be overloaded by it's own derieved class
Please let me know operator.
Thanks,
Naga:cool: (1 Reply)
Dear All
I had input file as mention below. Now from that file i want to search string "FAULT CODES CLASS" and want to display contain again its. ( ie. 1B4 --4 is in next line. ).
Kindly let me know the possible ways.
<rxmfp:mo=RXOTX-46-5 ; ... (3 Replies)
it was Q in my last midterm
1.he asks us to create new schema as the follwing and i do
$ ./new_schema.sh shema_name.sh schema_name field_names
NEW SCHEMA 'shema_name.sh' WITH FIELDS 'schema_name', 'field_names' "list"CREATED.
2.stord in a file called schema.txt
he told us that this file... (1 Reply)
i have srtring i.e. "NAME,CLASS,AGE" (length of string is not constant) and from this string i've extract each word delimited by "," (comma).
INPUT: "NAME,CLASS,AGE"
OUTPUT: NAME
CLASS
AGE
how can i do that?
i have tried some string manipulation function like... (5 Replies)
Hi, i have a question about C++. Is it possible to declare a class with a member ot the same class? For example, a linked list or i want to convert this C code to C++ class (Elemento)
typedef struct elemento
{
char name;
char value;
List<struct elemento> ltElementos;
... (7 Replies)
Hi
What is the syntax for if statement using && and || operator?
if && ] ||
here its giving me an error to this if statement
any suggestion?? (2 Replies)
how can i use like operator in IF statement. Below is correct format, please guide
if ; then
CT_ACT_FILE_NAME=`echo FINACLE'
else
CT_ACT_FILE_NAME=`echo not listed'
fi
---------- Post updated at 04:58 PM ---------- Previous update was at 04:56 PM ----------
Please use CODE... (6 Replies)
hi,
I defined my own String class and overloaded the output operator with
friend ostream& operator<<(ostream& os, const myString& str);
//overloads the << operator so it can be used to output values of type myString
which works fine. Until I try to execute the following statement:
// +... (6 Replies)