Re: Proposal for Prototype Implementation to Enhance C/C++ Interoperability in PostgreSQL
От | Tom Lane |
---|---|
Тема | Re: Proposal for Prototype Implementation to Enhance C/C++ Interoperability in PostgreSQL |
Дата | |
Msg-id | 50312.1683472738@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Proposal for Prototype Implementation to Enhance C/C++ Interoperability in PostgreSQL ("盏一" <w@hidva.com>) |
Ответы |
Re: Proposal for Prototype Implementation to Enhance C/C++ Interoperability in PostgreSQL
Re: Proposal for Prototype Implementation to Enhance C/C++ Interoperability in PostgreSQL |
Список | pgsql-hackers |
"=?utf-8?B?55uP5LiA?=" <w@hidva.com> writes: > The proposed implementation can significantly improve the interoperability between C and C++ code in PostgreSQL. It allowsfor seamless integration of C++ code with PostgreSQL, without the need for complex workarounds or modifications tothe existing codebase. That'd be nice to have, certainly ... > I have submitted the implementation on [GitHub](https://github.com/postgres/postgres/commit/1a9a2790430f256d9d0cc371249e43769d93eb8e#diff-6b6034caa00ddf38f641cbd10d5a5d1bb7135f8b23c5a879e9703bd11bd8240f). Iwould 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
В списке pgsql-hackers по дате отправления: