Creating operators - Mailing list pgsql-hackers

From Gene Sokolov
Subject Creating operators
Date
Msg-id 0a2001bf1ac1$bf46c600$0d8cdac3@aktrad.ru
Whole thread Raw
Responses Re: [HACKERS] Creating operators
List pgsql-hackers
Since no one replied in pg-general, I am reposting to hackers.

Q1:
Let's say I want to create a '+' operator for <my own type> + int4. Do I
really have to
define two '+' operators, one

<my own type> + int

and the other

int + <my own type>

Q2:

Can I create an operator '::', such as <my own type>::double ?

Gene Sokolov.





pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Re: [HACKERS] Re: New developer globe
Next
From: Kaare Rasmussen
Date:
Subject: Re: [HACKERS] book status