Re: PHP SQL Color Syntax that is Postgresql & GPL3 Compatible? - Mailing list pgsql-general

From John DeSoi
Subject Re: PHP SQL Color Syntax that is Postgresql & GPL3 Compatible?
Date
Msg-id 10C2D17B-7536-4008-8F94-4859989418E2@pgedit.com
Whole thread Raw
In response to PHP SQL Color Syntax that is Postgresql & GPL3 Compatible?  (Ken Tanzer <ken.tanzer@gmail.com>)
Responses Re: PHP SQL Color Syntax that is Postgresql & GPL3 Compatible?  (Ken Tanzer <ken.tanzer@gmail.com>)
List pgsql-general
On Apr 25, 2012, at 6:57 AM, Ken Tanzer wrote:

> Hi.  I'm looking for an Open Source PHP code that will take plain text SQL and turn it into colorful HTML.  If it
couldtake messy code and clean up indents and such (a la SQLinForm), that would be a nice bonus.  Ideally it would
understandmany flavors of SQL, but handling Postgresql syntax is most important.  I want to include this in my own
project,so it needs to be redistributable and specifically GPL3 compatible.  Again ideally, it would be a standalone
andfairly lightweight piece of code, rather than having to embed some monster package. 
>
> Does anyone know of such a beast?  TIA for any help provided.


Not stand alone, but the phpPgAdmin project colors SQL/PostgreSQL code and I believe the license is GPL.

http://phppgadmin.sourceforge.net/doku.php?id=start





John DeSoi, Ph.D.





pgsql-general by date:

Previous
From: Ken Tanzer
Date:
Subject: PHP SQL Color Syntax that is Postgresql & GPL3 Compatible?
Next
From: Armand Turpel
Date:
Subject: Psql dosent log error messages on windows