SELECT 3 !;ERROR: parser error at or near ""
SELECT 3 !;Works ok.
Parser error occurs if the ending ; is on the same line.
-- Robert