Re: knngist - 0.8 - Mailing list pgsql-hackers

From David Fetter
Subject Re: knngist - 0.8
Date
Msg-id 20101018132955.GJ17565@fetter.org
Whole thread Raw
In response to Re: knngist - 0.8  (Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>)
Responses Re: knngist - 0.8
List pgsql-hackers
On Mon, Oct 18, 2010 at 11:41:06AM +0100, Mark Cave-Ayland wrote:
> Paul Ramsey wrote:
> 
> >>So what kind of data structure would you like for a typmod?
> >
> >I'm a primitive enough beast that just having 64-bits would make me
> >happy. As a general matter though, a bytea?
> >
> >P
> 
> For my vote, I'd prefer either the Oid of a custom type or an array
> of Oid, Datum pairs - i.e. something we can extend in the future if
> required.

This sounds a lot like a foreign key to another table.  Are you not
proposing doing that because of performance considerations?

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@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


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: leaky views, yet again
Next
From: Robert Haas
Date:
Subject: Re: ISN patch that applies cleanly with git apply