Re: GeSHi module for Postgresql? - Mailing list pgsql-general

From Leif Biberg Kristensen
Subject Re: GeSHi module for Postgresql?
Date
Msg-id 201005041658.40015.leif@solumslekt.org
Whole thread Raw
In response to Re: GeSHi module for Postgresql?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Tuesday 4. May 2010 16.31.20 Tom Lane wrote:
> Leif Biberg Kristensen <leif@solumslekt.org> writes:
> > Now I only need a list of the built-in functions.
>
> There's an awful lot of them, many of which aren't really intended to be
> called by users anyway.  Can't you just do "if it looks syntactically
> like a function call, assume it is one"?

As the FAQ points out, «GeSHi is not a lexical parser, unlike other
highlighting solutions.» <http://qbnz.com/highlighter/faq.php> So, that's not
really feasible the way GeSHi is built. That said, I've already compiled a
list of most of the functions from the documentation. I only omitted system
administration functions which may be postponed for a later version. I've
submitted a preliminary draft of a Postgresql language file, and am waiting for
a reply.

regards,
--
Leif Biberg Kristensen
http://solumslekt.org/blog/

pgsql-general by date:

Previous
From: Andy Colson
Date:
Subject: Re: pg9 beta1, make check fails
Next
From: "Sergey E. Koposov"
Date:
Subject: PG & random() strangeness