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
DROP OPERATOR FAMILY(7) PostgreSQL 9.2.7 Documentation DROP OPERATOR FAMILY(7)NAME
DROP_OPERATOR_FAMILY - remove an operator family
SYNOPSIS
DROP OPERATOR FAMILY [ IF EXISTS ] name USING index_method [ CASCADE | RESTRICT ]
DESCRIPTION
DROP OPERATOR FAMILY drops an existing operator family. To execute this command you must be the owner of the operator family.
DROP OPERATOR FAMILY includes dropping any operator classes contained in the family, but it does not drop any of the operators or functions
referenced by the family. If there are any indexes depending on operator classes within the family, you will need to specify CASCADE for
the drop to complete.
PARAMETERS
IF EXISTS
Do not throw an error if the operator family does not exist. A notice is issued in this case.
name
The name (optionally schema-qualified) of an existing operator family.
index_method
The name of the index access method the operator family is for.
CASCADE
Automatically drop objects that depend on the operator family.
RESTRICT
Refuse to drop the operator family if any objects depend on it. This is the default.
EXAMPLES
Remove the B-tree operator family float_ops:
DROP OPERATOR FAMILY float_ops USING btree;
This command will not succeed if there are any existing indexes that use operator classes within the family. Add CASCADE to drop such
indexes along with the operator family.
COMPATIBILITY
There is no DROP OPERATOR FAMILY statement in the SQL standard.
SEE ALSO
ALTER OPERATOR FAMILY (ALTER_OPERATOR_FAMILY(7)), CREATE OPERATOR FAMILY (CREATE_OPERATOR_FAMILY(7)), ALTER OPERATOR CLASS
(ALTER_OPERATOR_CLASS(7)), CREATE OPERATOR CLASS (CREATE_OPERATOR_CLASS(7)), DROP OPERATOR CLASS (DROP_OPERATOR_CLASS(7))
PostgreSQL 9.2.7 2014-02-17 DROP OPERATOR FAMILY(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)