[PATCHES] vacuumlo nonstandard use of \\ in a string literal

2006-02-23 Thread Michael Fuhr
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

Re: [PATCHES] vacuumlo nonstandard use of \\ in a string literal

2006-02-23 Thread Tom Lane
Michael Fuhr [EMAIL PROTECTED] writes: How backward compatible should vacuumlo remain? This patch changes the string to E'...' but other ways would be to use dollar quotes or ESCAPE. In this particular case, a far better answer is to replace ! strcat(buf, AND s.nspname NOT LIKE