add operator ^= to mean not equal (like != and <>)

Поиск
Список
Период
Сортировка
От 孙诗浩(思才)
Тема add operator ^= to mean not equal (like != and <>)
Дата
Msg-id 063a08e7-fca3-43d9-8953-5e28bcbeada3.sunshihao.ssh@alibaba-inc.com
обсуждение исходный текст
Ответы Re: add operator ^= to mean not equal (like != and <>)  (Andreas Karlsson <andreas@proxel.se>)
Re: add operator ^= to mean not equal (like != and <>)  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Список pgsql-hackers
Hi everyone,
I am doding some jobs in postgres. I want to add "^=" like "!=" and "<>".

So i modify the code in scan.l.
Plan 1:
equals_greater "=>"
less_equals  "<="
greater_equals ">="
less_greater "<>"
not_equals  (!=|\^=)
 
Maybe i can delete some code to make the code more simple.
Plan 2:
 
equals_greater "=>"
less_equals  "<="
greater_equals ">="
less_greater "<>" (delete this definition)
not_equals  (!=|\^=|<>)

Before send patch review, I want to konw whether the postgres maintainer will approve my changes.

So, please give me some advice.

Thank you!

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Gilles Darold
Дата:
Сообщение: Re: [PATCH] Hooks at XactCommand level
Следующее
От: Gilles Darold
Дата:
Сообщение: Re: [PATCH] Hooks at XactCommand level