Re: compiling PL/pgSQL plugin with C++

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Тарасов Георгий Витальевич <Tarasov-G@gaz-is.ru>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2019-05-31T21:39:44Z
Lists: pgsql-hackers, pgsql-general
I wrote:
> There are various other minor issues, but they generally look
> fixable with little consequence.

I've now pushed your patch and additional minor fixes, and
we've expanded cpluspluscheck's coverage so we don't miss
such issues in future.

			regards, tom lane



Commits

  1. Improve coverage of cpluspluscheck.

  2. Fix C++ incompatibilities in ecpg/preproc/ header files.

  3. Fix C++ incompatibilities in plpgsql's header files.

  4. Fix assorted header files that failed to compile standalone.

  5. Make our perfect hash functions be valid C++.