David Fetter wrote:
> Kind people,
>
> I have a little puzzlement. In the first select, I double the
> backslash and return true. In the second, I don't and get false.
> Have I missed something important in the docs?
Yes:
"""
Note: Remember that the backslash (\) already has a special meaning in
PostgreSQL string literals. To write a pattern constant that contains a
backslash, you must write two backslashes in the statement.
"""