While trying to understand dollar-quoting, I found the following in psql:

   select $a$ hello $a$;

behaves as expected, but psql does not like

   select $a$ \ $a$;
or
   select $a$ \\ $a$;

Should it? How should a dollar-quote handle:

   $a$ \$a\$a $a$

?



----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 03 5330 3172 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp.mit.edu:11371 |/



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

Reply via email to