| From: | Teng Zhang <tezhang(at)pivotal(dot)io> |
|---|---|
| To: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
| Cc: | Jing Li <jingli(at)pivotal(dot)io>, Hao Wang <haowang(at)pivotal(dot)io>, Dave Cramer <davecramer(at)gmail(dot)com> |
| Subject: | [pgAdmin4][PATCH] Highlighting greenplum keywords in sql editor |
| Date: | 2017-09-11 09:38:22 |
| Message-ID: | CAJDMTzdJ-exVXpJNYWukaJcL+4=bA8vFJ7JFbWKO5jz7aEQCNA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-hackers |
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
| Attachment | Content-Type | Size |
|---|---|---|
| gpdb_syntax_highlighting.diff | text/plain | 6.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Murtuza Zabuawala | 2017-09-11 09:43:45 | Re: Build failed in Jenkins: pgadmin4-master-python26 #436 |
| Previous Message | pgAdmin 4 Jenkins | 2017-09-11 09:36:46 | Build failed in Jenkins: pgadmin4-master-python26 #438 |