You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
518 B
19 lines
518 B
--- src/ngx_postgres_handler.c.orig
|
|
+++ src/ngx_postgres_handler.c
|
|
@@ -52,6 +52,7 @@
|
|
|
|
dd("entering");
|
|
|
|
+#if defined(nginx_version) && (nginx_version < 13010)
|
|
if (r->subrequest_in_memory) {
|
|
/* TODO: add support for subrequest in memory by
|
|
* emitting output into u->buffer instead */
|
|
@@ -63,6 +64,7 @@
|
|
dd("returning NGX_HTTP_INTERNAL_SERVER_ERROR");
|
|
return NGX_HTTP_INTERNAL_SERVER_ERROR;
|
|
}
|
|
+#endif
|
|
|
|
pglcf = ngx_http_get_module_loc_conf(r, ngx_postgres_module);
|
|
|