FRiCKLE / ngx_postgres

upstream module that allows nginx to communicate directly with PostgreSQL database.
http://labs.frickle.com/nginx_ngx_postgres/
BSD 2-Clause "Simplified" License
545 stars 122 forks source link

postgres_set does not allow reuse of $variable #17

Open KangOl opened 11 years ago

KangOl commented 11 years ago

see [1]

Why this restriction? This forbid users to factorise the configuration and put postgres_set directive inside a file that will be included in multiple server

[1] https://github.com/FRiCKLE/ngx_postgres/blob/master/src/ngx_postgres_module.c#L1097