OpenResty® Scalable Web Platform by Extending NGINX with Lua

OpenResty XRay
Advanced observability built for OpenResty and more
×

limited time offer

Request TRIAL today and receive a diagnostic REPORT
New! OpenResty 1.21.4.1 is now released!
New! Test::Nginx 0.30 is now released!
New! New blog post Configure HTTP basic auth in OpenResty Edge is published.
New! New blog post How to use custom dynamic metrics in OpenResty Edge is published.

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