2010/5/7 Piotr Sikora <piotr.sikora@frickle.com>:
> eval $backend {
> postgres_pass database;
> postgres_query "select * from backends limit 1";
> postgres_get_value 0 0;
> }
>
Ah, I love that postgres_get_value directive! :D
But to be honest, I've been planning a ngx_rds_picker filter module
that can do such "cell picking" in the result sets on the RDS level so
that specific DB drivers don't have to do it themselves ;)
Cheers,
-agentzh
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx