Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2006-02-23 16:54:36
Subject: Re: Zeroing damaged pages
Previous:From: Simon RiggsDate: 2006-02-23 12:31:41
Subject: Zeroing damaged pages

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group