c++ - libpq++ 或 libpqxx 是官方的 c++ postgres 接口(interface)吗?

标签 c++ postgresql interface

我对这两者感到困惑。我看到 libpq++ 提到了 posgresql 的第 7 版;我看到 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/

相关文章:

c++ - 构建一组对象并将它们放入一个元组中

sql - dropdb mydb 在 postgres 中不工作

postgresql - 如何防止用户能够看到其他数据库和其他数据库中的表?

postgresql - 使用 ORM 将任意数据检索到嵌套对象中

oop - 接口(interface)作为能力或接口(interface)作为类型

typescript - typescript 中的子类化

c++ - 在 Linux 中动态排列应用程序窗口

c++ - 线程的输入和输出

c++ - Qt5 中 http 客户端的 Post 方法

c# - 在 C# 中对抽象类使用接口(interface)