postgresql - 为什么PostgreSQL中有2个libpq文件夹

标签 postgresql libpq

PostgreSQL源代码中有2个libpq文件夹:

  • src/interfaces/libpq
  • src/backend/libpq

它们有什么区别?

据我所知,只有接口(interface)文件夹中存在的那个被编译和引用。

最佳答案

一个用于后端(用于服务器接收连接 - src/backend/libpq),一个用于前端(用于客户端与服务器建立连接 - src/interfaces/libpq)

披露:我为 EnterpriseDB (EDB) 工作

关于postgresql - 为什么PostgreSQL中有2个libpq文件夹,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58918865/

相关文章:

linux - 如何在 Windows 中执行此 linux 命令?

无法使用 libpq 连接到 postgreSQL 服务器

c++ - PostgreSQL不支持嵌套的BEGIN和END语句,即使它不支持自主事务?

Postgresql,限制特定列的更新(只读)

Postgresql:如何授予设置角色的权限?

postgresql - Flask-migrate 和更改列类型

postgresql - PQconnectdb 在连接时设置 search_path (schema)

sql - libpq 调用给出 "UTF8": 0xe6 0x62 0x40

postgresql - Postgres : Function check duplicates in table

postgresql - Postgres : The best way to optmize "greater than" query