> Actually, I found that the double backslashes are required whether the E
> is
> used or not:
>You must be using a relatively old PG version then. Default behavior
>since around 9.1 has been that backslashes aren't special except
>in E'' strings.
Hmm.
development=# select version();
version
------------------------------------------------------------
PostgreSQL 9.1.9, compiled by Visual C++ build 1500, 32-bit
(1 row)
>regards, tom lane