vacuumlo nonstandard use of \\ in a string literal - Mailing list pgsql-patches

From Michael Fuhr
Subject vacuumlo nonstandard use of \\ in a string literal
Date
Msg-id 20060223163218.GA37294@winnie.fuhr.org
Whole thread Raw
Responses Re: vacuumlo nonstandard use of \\ in a string literal
List pgsql-patches
In 8.1 and HEAD, if a role has escape_string_warning enabled then
vacuumlo elicits the following warning:

WARNING:  nonstandard use of \\ in a string literal at character 323
HINT:  Use the escape string syntax for backslashes, e.g., E'\\'.

How backward compatible should vacuumlo remain?  This patch changes
the string to E'...' but other ways would be to use dollar quotes
or ESCAPE.

--
Michael Fuhr

Attachment

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: OS X shared memory documentation
Next
From: Tom Lane
Date:
Subject: Re: vacuumlo nonstandard use of \\ in a string literal