Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details
nginx-module-postgres Sources of the postgres module for the NGINX ports
1.0.0 www Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: joneum@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-10-13 21:24:11
Last Update: 2026-10-13 21:20:46
Commit Hash: 6b3966e
License: BSD2CLAUSE
WWW:
https://github.com/sysadmin-labs/nginx-postgres-module
Description: #
The postgres module queries PostgreSQL from nginx itself, with no application in between: a location names an upstream and a query, and the rows come back as text, as JSON, or as nothing but a status code. Values from the request go into the query escaped, and the status code can be chosen by how many rows came back. This port only installs the module sources. The module itself is built by the nginx ports when their POSTGRES option is enabled.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (26 items)
Collapse this list.
  1. share/nginx/modules/nginx-module-postgres/config
  2. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_ddebug.h
  3. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_escape.c
  4. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_escape.h
  5. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_handler.c
  6. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_handler.h
  7. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_keepalive.c
  8. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_keepalive.h
  9. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_module.c
  10. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_module.h
  11. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_output.c
  12. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_output.h
  13. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_processor.c
  14. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_processor.h
  15. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_rewrite.c
  16. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_rewrite.h
  17. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_upstream.c
  18. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_upstream.h
  19. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_util.c
  20. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_util.h
  21. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_variable.c
  22. share/nginx/modules/nginx-module-postgres/src/ngx_postgres_variable.h
  23. share/nginx/modules/nginx-module-postgres/src/resty_dbd_stream.h
  24. /usr/local/share/licenses/nginx-module-postgres-1.0.0/catalog.mk
  25. /usr/local/share/licenses/nginx-module-postgres-1.0.0/LICENSE
  26. /usr/local/share/licenses/nginx-module-postgres-1.0.0/BSD2CLAUSE
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • nginx-module-postgres>0:www/nginx-module-postgres
To install the port: #
cd /usr/ports/www/nginx-module-postgres/ && make install clean
To add the package, run one of these commands:
  • pkg install www/nginx-module-postgres
  • pkg install nginx-module-postgres
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: nginx-module-postgres
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1791920188 SHA256 (sysadmin-labs-nginx-postgres-module-1.0.0_GH0.tar.gz) = 351bba8174f5e1a6d5fe7b7674d2f32103659be87c3d66310d134229a53b5e4d SIZE (sysadmin-labs-nginx-postgres-module-1.0.0_GH0.tar.gz) = 70031

Packages (timestamps in pop-ups are UTC): #
nginx-module-postgres
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0.01.0.0--1.0.0
FreeBSD:14:quarterly-----
FreeBSD:15:latest1.0.01.0.0n/a-n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest-1.0.0n/a-n/a
This port has no dependencies. #
This port is required by: #
for Build #
  1. www/nginx-full

Configuration Options: #
No options to configure
Options name: #
www_nginx-module-postgres
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/sysadmin-labs/nginx-postgres-module/tar.gz/1.0.0?dummy=/
Collapse this list.

Number of commits found: 1 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.0.0
13 Oct 2026 21:20:46
commit hash: 6b3966e2907c8aac2622d43c051878483859cf80commit hash: 6b3966e2907c8aac2622d43c051878483859cf80commit hash: 6b3966e2907c8aac2622d43c051878483859cf80commit hash: 6b3966e2907c8aac2622d43c051878483859cf80 files touched by this commit
Jochen Neumeister (joneum) search for other commits by this committer
www/nginx-module-postgres: Add New Port

Sources of the postgres module for the NGINX ports.  The module queries
PostgreSQL from nginx itself, with no application in between, and answers
with the rows as text, as JSON, or as nothing but a status code.

Sponsored by:	Netzkommune GmbH

Number of commits found: 1