Re: Access to current database from C-language function

From: Achim Domma <domma(at)procoders(dot)net>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Access to current database from C-language function
Date: 2011-08-02 12:48:02
Message-ID: 83F0600A-AE6E-4C13-8CBF-C61C842333FD@procoders.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2011-08-02 13:34:56 WAL logging volume and CREATE TABLE
Previous Message Alexander Korotkov 2011-08-02 12:33:16 Re: WIP: Fast GiST index build