Everytime I deploy a new stored procedure, it bothers me I have to update the middle-layer to allow my front-end code to use the function. My middle-layer between the front-end code and the database simply translates JSON-RPC requests to SELECT queries calling stored procedures returning JSON back to the front-end. This is almost perfect. But, I still have to update a file where I keep all queries
![Call PostgreSQL functions via HTTP JSON-RPC](https://cdn-ak-scissors.b.st-hatena.com/image/square/8d71ff5111e05619a10d29bb40d7aebaa75c8fbc/height=288;version=1;width=512/https%3A%2F%2Fs0.wp.com%2Fi%2Fblank.jpg)