Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group