From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | John Fabiani <johnf(at)jfcomputer(dot)com> |
Cc: | "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: the use of $$string$$ |
Date: | 2011-11-04 14:57:24 |
Message-ID: | 7743.1320418644@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
John Fabiani <johnf(at)jfcomputer(dot)com> writes:
> I just discovered that I can use $$string$$ to account for the problem of
> single quotes in the string (or other strange char's). However, I noticed
> that the table field contained E'string'. I actually tried to find info on
> this but I did not find anything.
> Could someone explain what it means or better provide a web link for me to
> discover the info.
http://www.postgresql.org/docs/9.1/static/sql-syntax-lexical.html
See "4.1.2.4. Dollar-quoted String Constants", about halfway down the
page. You might care to read the rest of 4.1.2 while at it.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | John Fabiani | 2011-11-04 15:26:16 | Re: the use of $$string$$ |
Previous Message | bricklen | 2011-11-04 14:57:23 | Re: the use of $$string$$ |