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

From Ron Mayer
Subject Re: Mostly Harmless: Welcoming our C++ friends
Date
Msg-id 4941CCEC.9020607@cheapcomplexdevices.com
Whole thread Raw
In response to Re: Mostly Harmless: Welcoming our C++ friends  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> 
> Given the above constraints, I think the only real role for C++ here
> would be to allow access to third-party C++ libraries as Postgres
> extensions --- for instance something like an XML or numerical analysis

I seem to recall that we're already able to do this.

IIRC, some older postgis's wrapped some C++ library that they
used internally; and some of my old scripts for installing
postgres have: "env LDFLAGS=-lstdc++ ./configure --prefix=$PGHOME"

I guess existing current c++ postgres extensions probably have a C wrapper?
and I guess the main benefit of this project would be that the C wrapper
could be thinner (or even nonexistant?) with these proposed changes?



pgsql-hackers by date:

Previous
From: "Greg Stark"
Date:
Subject: Re: benchmarking the query planner
Next
From: "Nathan Boley"
Date:
Subject: Re: benchmarking the query planner