Executing SQL doesn't work in psql