server-side extension in c++ - Mailing list pgsql-general

From Igor
Subject server-side extension in c++
Date
Msg-id 201003222146.43287.igor@carcass.ath.cx
Whole thread Raw
Responses Re: server-side extension in c++  (Craig Ringer <craig@postnewspapers.com.au>)
List pgsql-general
Hi All,

Is there an easy way to add c++ files to my simple pgsql module ? My Makefile
is as follows -

===
MODULES = pg_uservars
DATA_built = pg_uservars.sql
PGXS := $(shell pg_config --pgxs)
include $(PGXS)
===

I've got "pg_uservars.c" and "hv.cc" and I'd like to compile hv.cc via g++.
I'm aware of c++ name [de]mangling, just looking if there's a standard way of
using C++ when it comes to pgxs.

--
Best Regards,
Igor Shevchenko

pgsql-general by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: pgreplay log file replayer released
Next
From: Tony Wasson
Date:
Subject: Re: How to dump JUST procedures/funnctions?