Hi Christian -- Sorry about the delay. The patch is based on PG version 9.5.3. The commit history of the repo should give a high-level idea of the changes required in PG to support compilation by a C++ compiler. I presume that Peter's patch would be easier to integrate into PG. In any case, I would be very glad to see PostgreSQL support C++.
Regards. On Sun, Sep 11, 2016 at 6:47 AM, Christian Convey < christian.con...@gmail.com> wrote: > On Sun, Aug 14, 2016 at 5:05 PM, Joy Arulraj <jarul...@cs.cmu.edu> wrote: > > Hi folks -- > > > > We have ported Postgres over to the C++ language (C++11 standard). > > > > https://github.com/jarulraj/postgresql-cpp > > > > Our goal is to use certain features of the C++ language and its standard > > library to simplify coding, improve code reuse, and avoid bugs. Peter's > > article titled `Moving to C++` was a source of inspiration for us. > > Do you remember the particular commit of PG upon which you based this > work? Or even better, are you able to post a patch which applies > cleanly to PG's current HEAD? > > I ask because I'd like to compare your approach to the one Peter has > posted, and I think that will be easier if I can use a common (or at > least similar) baseline for the comparison. > > Kind regards, > Christian >