Commutative operators/type conversion operators

Поиск
Список
Период
Сортировка
От Gene Sokolov
Тема Commutative operators/type conversion operators
Дата
Msg-id 0a1001bf1a43$38f64d60$0d8cdac3@aktrad.ru
обсуждение исходный текст
Список pgsql-general
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-general по дате отправления:

Предыдущее
От: "Doran L. Barton"
Дата:
Сообщение: Re: [GENERAL] Connection to database 'template1' failed.
Следующее
От: "Duncan Kinder"
Дата:
Сообщение: Re: [GENERAL] Installation simplicity