FRiCKLE pres. ngx_postgres
agentzh
agentzh at gmail.com
Fri May 7 06:04:19 MSD 2010
2010/5/7 Piotr Sikora <piotr.sikora at 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
More information about the nginx
mailing list