vacuumlo nonstandard use of \\ in a string literal

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: pgsql-patches(at)postgresql(dot)org
Subject: vacuumlo nonstandard use of \\ in a string literal
Date: 2006-02-23 16:32:18
Message-ID: 20060223163218.GA37294@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
vacuumlo.patch text/plain 980 bytes

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-02-23 16:54:36 Re: Zeroing damaged pages
Previous Message Simon Riggs 2006-02-23 12:31:41 Zeroing damaged pages