Re: SQL syntax highlightning don't work for single backslash '\'

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Melvin Davidson <melvin6925(at)yahoo(dot)com>
Cc: "mammoth(dot)power(at)gmx(dot)us" <mammoth(dot)power(at)gmx(dot)us>, "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org>
Subject: Re: SQL syntax highlightning don't work for single backslash '\'
Date: 2017-05-22 19:54:09
Message-ID: CAKFQuwYpttMcEa3pDe+qGNGw8cTYW+oU3NGRtw5nKbM5V+QkKg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Monday, May 22, 2017, Melvin Davidson <melvin6925(at)yahoo(dot)com> wrote:

> *>When I have somewhere in text value single backslash char, then
> everything behind this char will not be highlighted correct.*
>
> *
> <https://www.postgresql.org/docs/9.4/static/functions-matching.html#POSIX-ESCAPE-SEQUENCES>*
> *That is because the Backslash is an ESCAPE character, so you must ESCAPE
> it and use two backslashes if you want it to be interpreted*
> *as a literal.*
>

Unless you omit the E prefix on the string literal, which the OP did.

David J.

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Melvin Davidson 2017-05-22 20:02:49 Re: SQL syntax highlightning don't work for single backslash '\'
Previous Message mammoth.power 2017-05-22 19:52:05 Re: SQL syntax highlightning don't work for single backslash '\'