Skip site navigation (1) Skip section navigation (2)

Re: knngist patch support

From: Yeb Havinga <yebhavinga(at)gmail(dot)com>
To: Dimitri Fontaine <dfontaine(at)hi-media(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Teodor Sigaev <teodor(at)sigaev(dot)ru>, Robert Haas <robertmhaas(at)gmail(dot)com>, Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, tomas(at)tuxteam(dot)de, "Ragi Y(dot) Burhum" <rburhum(at)gmail(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: knngist patch support
Date: 2010-02-14 16:01:28
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Dimitri Fontaine wrote:
> Then there's the metric space which is a data type with a distance
> function. This function must be non-negative, commutative, etc.
> So I guess what we need here is a Operator Group to define our plus and
> minus operators, and the fact that it's a group says (by convention,
> like the total ordering of a BTree) that the + is commutative and the -
> its opposite. Or we have an "option" called abelian for specifying the
> commutativity?
Would the group analogy work with partially ordered domains, e.g. with a 
location on a sphere datatype together with an identifier for the sphere 
- so poi on earth can be compared to another, but not a poi on earth 
with a poi on the moon. ?

Yeb Havinga

In response to

pgsql-hackers by date

Next:From: Yeb HavingaDate: 2010-02-14 16:08:05
Subject: Re: function to display ddl
Previous:From: Little, DouglasDate: 2010-02-14 15:32:35
Subject: function to display ddl

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group