OpenResty® 通过 Lua 扩展 NGINX 实现的可伸缩的 Web 平台

OpenResty XRay

Advanced observability built for OpenResty and more

×

limited time offer

Request TRIAL today and receive a diagnostic REPORT
Learn more
最新! OpenResty 1.21.4.1 已发布。
最新! Test::Nginx 0.30 已发布。
最新! 新博客文章 当 Lua IPC 管道阻塞 OpenResty 或 Nginx 的事件循环 已发表。
最新! 新博客文章 优化超大 Nginx 配置导致的内存碎片 已发表。

Postgres Nginx Module

Yichun Zhang , 22 Jun 2011 (created 21 Jun 2011)

ngx_postgres is an upstream module that allows Nginx to communicate directly with PostgreSQL database.

Response is generated in RDS format, so it's compatible with Rds Json Nginx Module and Drizzle Nginx Module modules.

This module is not enabled by default, and you need to specify the --with-http_postgres_module option while building OpenResty. This Nginx module requires libpq to be installed into your system.

Project page: http://github.com/FRiCKLE/ngx_postgres