Query inside a C-Function - Mailing list pgsql-general

From Enzo Cappa
Subject Query inside a C-Function
Date
Msg-id af50d3ba1003191226y6cb7a8au924d82b857147ba1@mail.gmail.com
Whole thread Raw
Responses Re: Query inside a C-Function  (Joe Conway <mail@joeconway.com>)
List pgsql-general
Hello!

I have to make a c function for determining if some point its inside a set of elliptical geometries (I'm talking about a shared library, used like a function in the queries ). The geometries are defined in a table, so the function should iterate over a set of them. One option could be pass as a param to the funcition an array of HeapTupleHeader (if its posible), and other could be make a query inside the function for obtaining the geometries.

I can't find the way of doing none of them, someone knows if it's posible? And, of course, information and links are needed too.

Thank in advance.

            Enzo Cappa

pgsql-general by date:

Previous
From: "Vikram Patil"
Date:
Subject: Re: AIX postgresql error
Next
From: Joe Conway
Date:
Subject: Re: Query inside a C-Function