ports/www/angie-module-postgres/files/patch-ngx_postgres-default_port
Oleg A. Mamontov 2043de1ccc www/angie-module-postgres: Angie postgres dynamic module
This is an upstream module that allows Angie to communicate directly with
PostgreSQL database.

PR:		Angie postgres dynamic module
2023-09-10 12:13:01 -04:00

17 lines
476 B
Text

--- ../ngx_postgres-1.0rc7/src/ngx_postgres_module.c.orig
+++ ../ngx_postgres-1.0rc7/src/ngx_postgres_module.c
@@ -1320,12 +1320,14 @@
continue;
}
+#if (nginx_version < 1011006)
if (uscfp[i]->default_port && url->default_port
&& (uscfp[i]->default_port != url->default_port))
{
dd("default_port doesn't match");
continue;
}
+#endif
dd("returning");
return uscfp[i];