Re: GeSHi module for Postgresql?

From: Leif Biberg Kristensen <leif(at)solumslekt(dot)org>
To: pgsql-general(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: GeSHi module for Postgresql?
Date: 2010-05-04 14:58:39
Message-ID: 201005041658.40015.leif@solumslekt.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tuesday 4. May 2010 16.31.20 Tom Lane wrote:
> Leif Biberg Kristensen <leif(at)solumslekt(dot)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/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Leif Biberg Kristensen 2010-05-04 15:41:56 Re: GeSHi module for Postgresql?
Previous Message Andy Colson 2010-05-04 14:50:28 Re: pg9 beta1, make check fails