On May 16, 2006, at 14:17 , Tom Lane wrote:

[1] Mostly. There's the infamous continued-string-literal construct...

Are you referring to this?

est=# SELECT 'foo'    'bar'; -- invalid
ERROR:  syntax error at or near "'bar'" at character 17
LINE 1: SELECT 'foo'    'bar';
                        ^
test=# SELECT 'foo'
test-# 'bar'; -- valid
?column?
----------
foobar
(1 row)

I've been exploiting that (mis)feature for line-wrapping comments after seeing it used that way somewhere. Very useful in that case, but very strange, I'll give you that.

Michael Glaesemann
grzm seespotcode net




---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to