Properties

Name: interval_ops 
OID: 1983 
Owner: postgres 
Default:  
For type: interval 
Access method: hash 
Storage:  
Comment:  
Operator: 1 =(interval,interval) 
Operator:  
Operator:  
Operator:  
Function: interval_hash(interval) 
Function: () 
Function: () 
Function: () 

SQL


CREATE OPERATOR CLASS interval_ops
    DEFAULT FOR TYPE interval USING btree AS
    OPERATOR 1 <(interval,interval) ,
    OPERATOR 2 <=(interval,interval) ,
    OPERATOR 3 =(interval,interval) ,
    OPERATOR 4 >=(interval,interval) ,
    OPERATOR 5 >(interval,interval) ,
    FUNCTION 1 interval_cmp(interval,interval);


ALTER OPERATOR CLASS pg_catalog.interval_ops USING btree OWNER TO postgres;

See Also

List of operator classes