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 20:46:47
Message-ID: CAKFQuwaJCCXA2v=Xc0i6BtCqYzm-5WbuTgB9heXZ6dMWJ_hv1w@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:

> *>Unless you omit the E prefix on the string literal, which the OP did.*
>
>
> *Nope! That results in 'a//b' but the op wants 'a/b';*
> *Hence the need to Escape.*
>

PgAdmin is buggy if it doesn't know that there is no output difference
between E'a\\b' and 'a\b' and thus should disable string colors subsequent
to either.

David J.

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2017-05-22 21:22:25 Re: Start of pgAdmin 1.5 takes longer then in 1.4
Previous Message Dave Page 2017-05-22 20:45:19 Re: Popup message always that PgAdmin 3 starts