"=?utf-8?B?55uP5LiA?=" <w...@hidva.com> writes:
> The proposed implementation can significantly improve the interoperability 
> between C and C++ code in PostgreSQL. It allows for seamless integration of 
> C++ code with PostgreSQL, without the need for complex workarounds or 
> modifications to the existing codebase.

That'd be nice to have, certainly ...

> I have submitted the implementation 
> on&nbsp;[GitHub](https://github.com/postgres/postgres/commit/1a9a2790430f256d9d0cc371249e43769d93eb8e#diff-6b6034caa00ddf38f641cbd10d5a5d1bb7135f8b23c5a879e9703bd11bd8240f).
>  I would appreciate it if you could review the implementation and provide 
> feedback.

... but I think this patch has no hope of being adequately portable.
It seems extremely specific to one particular C++ implementation
(unless you can show that every single thing you've used here is
in the C++ standard), and then for good measure you've thrown in
a new dependency on pthreads.  On top of that, doesn't this
require us to move our minimum language requirement to C++-something?
We just barely got done deciding C99 was okay to use.

                        regards, tom lane


Reply via email to