Re: Using backslash in query - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Using backslash in query
Date
Msg-id 5964.1065282328@sss.pgh.pa.us
Whole thread Raw
In response to Re: Using backslash in query  (Hannu Krosing <hannu@tm.ee>)
List pgsql-hackers
Hannu Krosing <hannu@tm.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Thoughts on maintaining 7.3
Next
From: Tom Lane
Date:
Subject: COUNT(*) again (was Re: Index/Function organized table layout)