Re: Mostly Harmless: Welcoming our C++ friends - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Mostly Harmless: Welcoming our C++ friends
Date
Msg-id 4938EC9E.7070308@gmx.net
Whole thread Raw
In response to Mostly Harmless: Welcoming our C++ friends  (Kurt Harriman <harriman@acm.org>)
Responses Re: Mostly Harmless: Welcoming our C++ friends
Re: Mostly Harmless: Welcoming our C++ friends
List 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.



pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: In-place upgrade: catalog side
Next
From: Greg Smith
Date:
Subject: Re: Mostly Harmless: Welcoming our C++ friends