pgworkload is a proxy tool that optimazes imcoming SQL queries depending on execution time Based on wgliang/pgproxy