Re: Suggestions for implementing IS DISTINCT FROM?
| От | Christopher Kings-Lynne |
|---|---|
| Тема | Re: Suggestions for implementing IS DISTINCT FROM? |
| Дата | |
| Msg-id | 009101c21b31$826db310$0200a8c0@SOL обсуждение исходный текст |
| Ответ на | Suggestions for implementing IS DISTINCT FROM? (Thomas Lockhart <lockhart@fourpalms.org>) |
| Ответы |
Re: Suggestions for implementing IS DISTINCT FROM?
|
| Список | pgsql-hackers |
> Please, please, do not do that. Make a new expression node tree type, > instead. We've made this mistake before (eg for BETWEEN) and I don't > want to do it again. I've actually already done almost all the work for converting BETWEEN to a node but I have a couple of questions: Should I use a boolean in the node to indicate whether it is SYMMETRIC or ASYMMETRIC, or should I use some sort of integer to indicate whether it is SYMMETRIC, ASYMMETRIC or DEFAULT (ASYMMETRIC). That way the reverse in rules and views could leave out the ASYMMETRIC if it wasn't specified originally, rather than always adding it in. Which is better? Chris
В списке pgsql-hackers по дате отправления: