Re: [GENERAL] C++ port of Postgres

2016-09-23 Thread Joy Arulraj
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

Re: [GENERAL] C++ port of Postgres

2016-09-11 Thread Christian Convey
On Sun, Aug 14, 2016 at 5:05 PM, Joy Arulraj 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

Re: [GENERAL] C++ port of Postgres

2016-08-16 Thread Jim Nasby
On 8/16/16 2:52 AM, Gavin Flower wrote: In both cases, part of the motivation to change from C was to appeal to new developers - from what I remember of the discussions. I have moved this discussion over to -hackers. (https://www.postgresql.org/message-id/f7682c24-4271-1ff5-d963-053ecb0fc...@b

Re: [GENERAL] C++ port of Postgres

2016-08-16 Thread Joy Arulraj
Thanks, I do hope so. On Tue, Aug 16, 2016 at 7:00 AM, FarjadFarid(ChkNet) < farjad.fa...@checknetworks.com> wrote: > Well done. This is a much needed conversion. As Peter’s article says, it > does open up more opportunities. > > > > *From:* pgsql-general-ow...@postgresql.org [mailto:pgsql-gener

Re: [GENERAL] C++ port of Postgres

2016-08-16 Thread Joy Arulraj
On Tue, Aug 16, 2016 at 3:52 AM, Gavin Flower wrote: > On 16/08/16 18:24, dandl wrote: > >> >> Just wondering what the end goal is for this project... Is it to just >> maintain an up to date Postgres fork that will compile with a C++ compiler? >> Is it to get a conversation going for a direction

Re: [GENERAL] C++ port of Postgres

2016-08-16 Thread FarjadFarid(ChkNet)
Well done. This is a much needed conversion. As Peter’s article says, it does open up more opportunities. From: pgsql-general-ow...@postgresql.org [mailto:pgsql-general-ow...@postgresql.org] On Behalf Of Joy Arulraj Sent: 14 August 2016 22:06 To: pgsql-general@postgresql.org Subject: [GENER

Re: [GENERAL] C++ port of Postgres

2016-08-16 Thread Gavin Flower
On 16/08/16 18:24, dandl wrote: Just wondering what the end goal is for this project... Is it to just maintain an up to date Postgres fork that will compile with a C++ compiler? Is it to get a conversation going for a direction for Postgres itself to move? The former I don't see gaining much

Re: [GENERAL] C++ port of Postgres

2016-08-15 Thread dandl
Just wondering what the end goal is for this project... Is it to just maintain an up to date Postgres fork that will compile with a C++ compiler? Is it to get a conversation going for a direction for Postgres itself to move? The former I don't see gaining much traction or doing all that much fo

Re: [GENERAL] C++ port of Postgres

2016-08-15 Thread Adam Brusselback
Just wondering what the end goal is for this project... Is it to just maintain an up to date Postgres fork that will compile with a C++ compiler? Is it to get a conversation going for a direction for Postgres itself to move? The former I don't see gaining much traction or doing all that much for t

Re: [GENERAL] C++ port of Postgres

2016-08-14 Thread Joy Arulraj
Kang -- Yes, this is one of the reasons why we chose to do this. John -- We have not compiled it with non-GCC compilers. But, I presume that the changes required to support compilation with other compilers should be minimal as we don't rely on any compiler-specific features. On Sun, Aug 14, 2016

Re: [GENERAL] C++ port of Postgres

2016-08-14 Thread kang joni
I agree with this project, I dont like any setjmp/longjmp and the like. It just fighting against the nature of c++ language. Building either from scratch gcc48 or clang381 were easy nowdays on either old linux debian squeeze or centos 5. PS: I had this requirement circumtances. On 8/15/16, Joy Aru

Re: [GENERAL] C++ port of Postgres

2016-08-14 Thread Joy Arulraj
Hi Dmitry -- We currently don't use exceptions, but we can certainly use them in the port. We can also use STL and smart pointers to simplify development and minimize memory bugs. On Aug 14, 2016 5:41 PM, "Dmitry Igrishin" wrote: > Hi Joy, > > 2016-08-15 0:05 GMT+03:00 Joy Arulraj : > > Hi folks

Re: [GENERAL] C++ port of Postgres

2016-08-14 Thread Dmitry Igrishin
Hi Joy, 2016-08-15 0:05 GMT+03:00 Joy Arulraj : > 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 cod

Re: [GENERAL] C++ port of Postgres

2016-08-14 Thread John R Pierce
On 8/14/2016 2:05 PM, Joy Arulraj wrote: 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. Pete