Re: GeSHi module for Postgresql?

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

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

> Another point: I'm uncertain how to define a user in this context. Someone
> who wants to highlight plpgsql code snippets is most likely to be some kind of
> developer.

Sure, but what I meant was "not intended to be called directly from
SQL". Lots of those functions underlie operators, for example, and
you're really expected to use the operator instead. Stuff like
btree support functions likewise not really intended to be called
manually.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message justin@magwerks.com 2010-05-04 16:10:11 Re: PG & random() strangeness
Previous Message Joel Jacobson 2010-05-04 16:04:40 How to access insert/update counts for aborted subtransaction (or current transaction)