There is a patch to revive a building of nginx with the latest version of ngx_postgres module. Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->osa Over to maintainer (via the GNATS Auto Assign Tool)
Works for me, would this one ever be committed?
Support for third-party postgres module has been removed.