Confirmed. That is really weird.
>
> SELECT 3 !;
> ERROR: parser error at or near ""
>
> SELECT 3 !
> ;
> Works ok.
>
> Parser error occurs if the ending ; is on the same line.
>
> --
> Robert
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026