Prev: [HACKERS] ALTER TABLE .... make constraint DEFERRABLE
Next: ALTER TABLE .... make constraint DEFERRABLE
From: "Kevin Grittner" on 22 Mar 2010 12:01 Simon Riggs <simon(a)2ndQuadrant.com> wrote: > Yes, for most people touching != overlap. So it just looks like a > bug. A quick search of the web turned up a definition of overlap in geometry as meaning that two polygons share at least one *internal* point, which would be consistent with your interpretation; but there is the issue of breaking existing code. Perhaps people are now accustomed to following the existing overlaps test with a test that the area of intersection is non-zero? Anyway, based on what I found, we should document the current behavior, as the term in PostgreSQL doesn't seem to match the conventional definition in geometry. -Kevin -- Sent via pgsql-hackers mailing list (pgsql-hackers(a)postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
From: Andrew Dunstan on 22 Mar 2010 12:02 Simon Riggs wrote: >> >> Basically, what you feel is missing is documentation that if two >> shapes share one or more points they are considered to overlap; >> there is no requirement that they share an area? >> > > Yes, for most people touching != overlap. So it just looks like a bug. > > I guess I must be strange, then, it doesn't strike me as particularly unnatural. By all means document it, though, if the docs are not clear on the point. cheers andrew -- Sent via pgsql-hackers mailing list (pgsql-hackers(a)postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
From: David Fetter on 22 Mar 2010 13:25 On Mon, Mar 22, 2010 at 04:47:37PM +0000, Simon Riggs wrote: > On Mon, 2010-03-22 at 09:00 -0700, David Fetter wrote: > > > > Yes, for most people touching != overlap. So it just looks like a > > > bug. > > > > I don't know which people you've surveyed, but at least in my math > > classes, one point in common was sufficient for an overlap. I'd be > > happy to write up something that makes this clear. > > If you're happy to document it, good, thanks. I'm seeing a lot of places where this might be documented. Any ideas as to which ones are appropriate? Cheers, David. -- David Fetter <david(a)fetter.org> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fetter(a)gmail.com iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate -- Sent via pgsql-hackers mailing list (pgsql-hackers(a)postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
From: Tom Lane on 22 Mar 2010 13:46 David Fetter <david(a)fetter.org> writes: > I'm seeing a lot of places where this might be documented. Any ideas > as to which ones are appropriate? I would think "Geometric Functions and Operators" would be the most appropriate spot ... regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers(a)postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
From: David Fetter on 22 Mar 2010 13:55 On Mon, Mar 22, 2010 at 01:46:51PM -0400, Tom Lane wrote: > David Fetter <david(a)fetter.org> writes: > > I'm seeing a lot of places where this might be documented. Any ideas > > as to which ones are appropriate? > > I would think "Geometric Functions and Operators" would be the most > appropriate spot ... Please find patch enclosed. :) Cheers, David. -- David Fetter <david(a)fetter.org> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fetter(a)gmail.com iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: [HACKERS] ALTER TABLE .... make constraint DEFERRABLE Next: ALTER TABLE .... make constraint DEFERRABLE |