我对这两者感到困惑。我看到posgresql的版本7中提到了libpq++。我看到libpqxx将自己描述为官方的c++ postgresql接口(interface),但在postgres 9.3的文档中未提及,在9.3的postgresql文档中仅提及了C接口(interface)(libpq)。我还看到libpqxx已有5个月没有投入使用,而且我似乎无法找到libpq++的站点。

哪个是c++的正式接口(interface)?

最佳答案

在我看来,没有用于c++的正式接口(interface),他们只是提供libpq作为c的基础,并希望社区为c++实现它(因此libpqxx和libpq++)

有关更多信息,您可以检查http://www.postgresql.org/docs/current/static/libpq.html

关于c++ - libpq++或libpqxx是官方的c++ postgres接口(interface)吗?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/25152111/

10-11 23:12
查看更多