Re: @ versus ~, redux
От | Zeugswetter Andreas DCP SD |
---|---|
Тема | Re: @ versus ~, redux |
Дата | |
Msg-id | E1539E0ED7043848906A8FF995BDA579014DC301@m0143.s-mxs.net обсуждение исходный текст |
Ответ на | Re: @ versus ~, redux (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: @ versus ~, redux
Re: @ versus ~, redux |
Список | pgsql-hackers |
> >> The existing geometric containment tests seem to be nonstrict, so if > >> we wanted to leave room to add strict ones later, it might be best to > >> settle on > >> > >> x @>= y x contains or equals y > >> x <=@ y x is contained in or equals y > >> > >> reserving @> and <@ for future strict comparison operators. > > > At first glace, it seems more intuitive to me to do: > > > x @>= y x contains or equals y > > x =<@ y y is contained in or equals y > > Hm, I've never seen anyone spell "less than or equal to" as > "=<", so I'm not sure where you derive "=<@" from? Not > saying "no", but the other seems clearer to me. Yes, but to me too =<@ seems more natural since we started with @> and <@. Tom, your argument would more match your original @> and @<, but then it would imply @>= and @<=, imho. Andreas
В списке pgsql-hackers по дате отправления: