Re: SPI-header-files safe for C++-compiler
От | Tom Lane |
---|---|
Тема | Re: SPI-header-files safe for C++-compiler |
Дата | |
Msg-id | 7096.1183471756@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: SPI-header-files safe for C++-compiler ("Jacob Rief" <jacob.rief@gmx.at>) |
Ответы |
Re: SPI-header-files safe for C++-compiler
Re: SPI-header-files safe for C++-compiler |
Список | pgsql-patches |
"Jacob Rief" <jacob.rief@gmx.at> writes: > Just for curiosity, I would like to ask something. > libpqxx is based on libpq, and thus includes headers-files from libpq. > These header-files are C++-safe, otherwise libpqxx would'nt compile. Well, if they are, it's only by chance, because there isn't much of anything verifying that they are safe :-(. > Whats the point in having a two-class-society of headers files, some > of which are compatible for C++-compilers (the client-side), and some > which aren't (the server-side). It makes sense for libpq to be able to execute within a C++ application. As was already debated, it's not nearly as clear that it makes sense to try to use C++ for backend modules. In any case, you are not helping here. I asked for a technical solution to a specific problem, and you are giving me political arguments. regards, tom lane
В списке pgsql-patches по дате отправления: