Re: [pgAdmin4][PATCH] Highlighting greenplum keywords in sql editor - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgAdmin4][PATCH] Highlighting greenplum keywords in sql editor
Date
Msg-id CA+OCxox9gnSi+s=2_uDbyK2zfd6JvDxMm3XrZK8sJbz6fVthbQ@mail.gmail.com
Whole thread Raw
In response to [pgAdmin4][PATCH] Highlighting greenplum keywords in sql editor  (Teng Zhang <tezhang@pivotal.io>)
Responses Re: [pgAdmin4][PATCH] Highlighting greenplum keywords in sql editor
List pgadmin-hackers
Akshay, can you review/commit this please?

Thanks.

On Mon, Sep 11, 2017 at 10:38 AM, Teng Zhang <tezhang@pivotal.io> wrote:
Hi Hackers,

Attached is a patch that makes SQL editor show syntax highlighting with Greenplum keywords.

- Upgrade CodeMirror from 5.28 to 5.29 to include mime type "x-gpsql"
- Use "x-gpsql" mode for sql editor when connecting database is greenplum
- No behavior change to pg and ppas, still use "x-pgsql"

Regards,
Hao Wang & Teng Zhang





--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: [pgAdmin4][PATCH] Highlighting greenplum keywords in sql editor
Next
From: Anthony DeBarros
Date:
Subject: Re: pgAdmin 4 v2.0-rc1 builds