Re: [GENERAL] C++ port of Postgres

From: "dandl" <david(at)andl(dot)org>
To: "'Andres Freund'" <andres(at)anarazel(dot)de>
Cc: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "'Pg Hackers'" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] C++ port of Postgres
Date: 2016-08-17 01:51:04
Message-ID: 003701d1f829$d2308dc0$7691a940$@andl.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Patrick B 2016-08-17 02:32:55 Running pg_dump from a slave server
Previous Message 'Andres Freund' 2016-08-17 01:49:44 Re: [GENERAL] C++ port of Postgres

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2016-08-17 01:53:59 Re: Slowness of extended protocol
Previous Message 'Andres Freund' 2016-08-17 01:49:44 Re: [GENERAL] C++ port of Postgres