Re: Using backslash in query

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hannu Krosing <hannu(at)tm(dot)ee>
Cc: michael(at)synchronicity(dot)com, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Using backslash in query
Date: 2003-10-04 15:45:28
Message-ID: 5964.1065282328@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hannu Krosing <hannu(at)tm(dot)ee> writes:
> Regarding the dollar-quoting discussions -

> Will we be able to write the above query as
> SELECT smth. FROM tbl WHERE WHERE situation LIKE $$%\\%$$;
> in 7.4 or is \ still special there ?

We were discussing that for 7.5 not 7.4. But yeah, it would work that
way because \ won't be treated specially in dollar-quoted literals.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-10-04 15:56:40 Re: count(*) slow on large tables
Previous Message Tom Lane 2003-10-04 15:41:17 Re: Thoughts on maintaining 7.3