small fix in psql command execution