Fix Postgresql task not using variables