Am 01.08.2011 um 21:37 schrieb Merlin Moncure:
> I think David is probably right and this can be handled in pure sql
> simply and easily (perhaps in a function, perhaps not). The SPI
> interface is great, but the sql and plpgsql languages are very
> powerful and should always be preferred over a C solution all else
> being equal.
Thanks for all the input! I was not aware of all the available options. As I don't have time pressure at the moment, I'll investigate the different options further before deciding for one direction. I'm quite happy to see what's possible with Postgresql! :-)
kind regards,
Achim