Postgresql shell. END, etc are part of PL/PgSQL, not regular SQL.