Re: Mostly Harmless: Welcoming our C++ friends

Поиск
Список
Период
Сортировка
От Ron Mayer
Тема Re: Mostly Harmless: Welcoming our C++ friends
Дата
Msg-id 4941CCEC.9020607@cheapcomplexdevices.com
обсуждение исходный текст
Ответ на Re: Mostly Harmless: Welcoming our C++ friends  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Greg Stark"
Дата:
Сообщение: Re: benchmarking the query planner
Следующее
От: "Nathan Boley"
Дата:
Сообщение: Re: benchmarking the query planner