| From: | Michael Glaesemann <grzm(at)seespotcode(dot)net> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: psql feature thought |
| Date: | 2006-05-16 07:10:40 |
| Message-ID: | 260CDD84-9E3B-4A2A-A249-B76680D5EB5C@seespotcode.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Zeugswetter Andreas DCP SD | 2006-05-16 07:24:38 | Re: Compression and on-disk sorting |
| Previous Message | Thomas Hallgren | 2006-05-16 05:31:00 | Re: psql feature thought |