Re: @ versus ~, redux

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Zeugswetter Andreas DCP SD <ZeugswetterA(at)spardat(dot)at>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jeff Davis <pgsql(at)j-davis(dot)com>, andrew(at)supernews(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: @ versus ~, redux
Date: 2006-09-06 14:11:30
Message-ID: 200609061411.k86EBUC03897@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Zeugswetter Andreas DCP SD 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.
>
> 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.

Doesn't "=<@" represent the ship from the BASIC version of the Star Trek
game from the 70's? :-)

--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-09-06 15:31:58 Re: Open items for 8.2
Previous Message Tom Lane 2006-09-06 14:01:33 Re: @ versus ~, redux