Re: dollar-quoting in psql and in general

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: dollar-quoting in psql and in general
Date: 2004-08-12 03:00:26
Message-ID: 6.1.1.1.0.20040812125946.049cb410@203.8.195.10
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 12:47 PM 12/08/2004, Tom Lane wrote:
>Backslashes are not special inside
>dollar quotes --- nor is anything else, except the matching close tag

If they are not special, then shouldnt:

select $a$\$a$;

result in

?column?
\

rather than an error?

----------------------------------------------------------------
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 |/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Philip Warner 2004-08-12 03:03:22 Re: dollar-quoting in psql and in general
Previous Message Michael Fuhr 2004-08-12 02:56:27 8.0.0beta1: Ownership of implicit sequences after dump/restore