Re: [GENERAL] C++ port of Postgres - Mailing list pgsql-hackers

From dandl
Subject Re: [GENERAL] C++ port of Postgres
Date
Msg-id 003701d1f829$d2308dc0$7691a940$@andl.org
Whole thread Raw
In response to Re: [GENERAL] C++ port of Postgres  (Andres Freund <andres@anarazel.de>)
Responses Re: [GENERAL] C++ port of Postgres
List pgsql-hackers
> > From my particular perspective it would be enough if all the
> internal
> > headers (that one needs to use in writing server-side extensions)
> were
> > completely usable in C++.
> 
> That should already be the case.  There's even a dirty hack^WWscript
> that checks that that remains the case
> (src/tools/pginclude/cpluspluscheck).

The source code for my project is here:
https://github.com/davidandl/Andl/tree/master/plandl
https://github.com/davidandl/Andl/blob/master/plandl/plandl.c

I was not able to get this file to compile correctly in C++, and my
recollection is that at the time I asked on this list and that was the
advice. 

Sorry, I don't remember the error but it seemed to be too deeply embedded to
worry about. I just wrote the C code and moved on.

Since the Windows COM in the other part is C++ only, I finished up with a
mixed build. It works fine, but is not the ideal outcome.

Regards
David M Bennett FACS

Andl - A New Database Language - andl.org








pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Slowness of extended protocol
Next
From: 'Andres Freund'
Date:
Subject: Re: [GENERAL] C++ port of Postgres