Re: Mostly Harmless: Welcoming our C++ friends

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Kurt Harriman <harriman(at)acm(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Mostly Harmless: Welcoming our C++ friends
Date: 2008-12-05 08:55:58
Message-ID: 4938EC9E.7070308@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Kurt Harriman wrote:
> Sometimes people would like to call C++ code in the PostgreSQL
> backend environment... for example, in user-defined functions,
> triggers, access methods. And there is sometimes a need for
> C++ code to call back into PostgreSQL's C functions, such as
> the SPI interface.

Have you considered writing a procedural language plugin for C++?
PostgreSQL supports a lot of extension languages, and none of them
require the amount of backend changes that you outline here, because the
PL plugin serves as glue.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2008-12-05 08:58:18 Re: Mostly Harmless: Welcoming our C++ friends
Previous Message Gregory Stark 2008-12-05 08:48:37 Re: In-place upgrade: catalog side