Creating operators

Поиск
Список
Период
Сортировка
От Gene Sokolov
Тема Creating operators
Дата
Msg-id 0a2001bf1ac1$bf46c600$0d8cdac3@aktrad.ru
обсуждение исходный текст
Ответы Re: [HACKERS] Creating operators
Список 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 по дате отправления:

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: [HACKERS] Re: New developer globe
Следующее
От: Kaare Rasmussen
Дата:
Сообщение: Re: [HACKERS] book status