Re: @ versus ~, redux
От
Jeff Davis
Тема
Re: @ versus ~, redux
Дата
Msg-id
1157562537.20589.108.camel@dogma.v10.wvs
Ответ на
Re: @ versus ~, redux (Tom Lane)
Список
Дерево обсуждения
Re: @ versus ~, redux Andrew - Supernews <andrew+nonews@supernews.com>
Re: @ versus ~, redux Tom Lane <tgl@sss.pgh.pa.us>
Re: @ versus ~, redux Jeff Davis <pgsql@j-davis.com>
Re: @ versus ~, redux Tom Lane <tgl@sss.pgh.pa.us>
Re: @ versus ~, redux Jeff Davis <pgsql@j-davis.com>
Re: @ versus ~, redux "Zeugswetter Andreas DCP SD" <ZeugswetterA@spardat.at>
Re: @ versus ~, redux Bruce Momjian <bruce@momjian.us>
Re: @ versus ~, redux Tom Lane <tgl@sss.pgh.pa.us>
Re: @ versus ~, redux Matteo Beccati <php@beccati.com>
Re: @ versus ~, redux Michael Glaesemann <grzm@seespotcode.net>
Re: @ versus ~, redux Tom Lane <tgl@sss.pgh.pa.us>
On Tue, 2006-09-05 at 23:00 -0400, Tom Lane wrote: > Jeff Davis writes: > > On Mon, 2006-09-04 at 10:45 -0400, Tom Lane wrote: > >> 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. Initially it seemed strange to me because the @ switches sides but the operator is not symmetrical. I see what you mean. Standard <= and >= syntax, with an @ on the side of the container. Now I'll be able to remember it at least, so I'm really fine with anything. Regards,Jeff Davis
В списке pgsql-hackers по дате отправления