> * I see that the spec allows comments between segments of a string
> literal. This works in current code:
> regression=# select 'a string' -- zzz
> regression-# ' literal';
> ?column?
> ------------------
> a string literal
> (1 row)
> but I'm durned if I see where that behavior is implemented.
> Do you?
It used to be implemented in psql, and might still. Looks to me that
scan.l might be missing this case (which presumably you are thinking
also).
I'm still recalling the "line break" reasoning for concatenating
literals, but maybe that was just an example from the Date book rather
than the entire rule.
- Thomas
--
Thomas Lockhart lockhart@alumni.caltech.edu
South Pasadena, California