Re: compiling PL/pgSQL plugin with C++

2019-06-05 Thread George Tarasov
Tom, thanks for operational response reaction. Based on this topic and some nearby ones the problem turned out to be deeper than expceted... as always. p.s. Sorry for cyrillic in the mailing list. At the beginning I wrote from corporate email and could not change the sender name. If you can,

Re: compiling PL/pgSQL plugin with C++

2019-05-31 Thread Tom Lane
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

Re: compiling PL/pgSQL plugin with C++

2019-05-30 Thread Tom Lane
I wrote: > I propose that we change src/tools/pginclude/cpluspluscheck so that > it searches basically everywhere: > -for f in `find src/include src/interfaces/libpq/libpq-fe.h > src/interfaces/libpq/libpq-events.h -name '*.h' -print | \ > +for f in `find src contrib -name '*.h' -print | \

Re: compiling PL/pgSQL plugin with C++

2019-05-30 Thread Tom Lane
[ redirecting to -hackers ] =?koi8-r?B?9MHSwdPP1yDnxc/Sx8nKIPfJ1MHM2MXXyd4=?= writes: > I'm working on development of some PL/pgSQL plugin. > The smaller part of my code is written on C. > It's a standard extension code for integration with fmgr (_PG_init ...) > But bigger part of the code is