[postgis-devel] Prepared Geometry API

Paul Ramsey pramsey at cleverelephant.ca
Mon Oct 6 11:23:12 PDT 2008


Why can't I just this this:

key1 = PG_GETARG_DATUM(0)
key2 = PG_GETARG_DATUM(1)

the datums are just uint, and they don't get turned into pointers
until further down the line... I just tried changing my contains code
to do this, and I got the same answer in the same amount of time.  Are
the datum numbers reliable "object identifiers"?

P.

On Mon, Oct 6, 2008 at 10:53 AM, David Fuhry <dfuhry at acm.org> wrote:
> ctid will work for that, but I believe it would have to be passed into the
> function as a separate argument from the geometry, so API ugliness remains.



More information about the postgis-devel mailing list