pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dg@illustra.com
To: hannu@trust.ee
Cc: vadim@krs.ru
Cc: pgsql-interfaces@postgreSQL.org
Cc: hackers@postgreSQL.org
Subject: Re: [INTERFACES] Re: [HACKERS] changes in 6.4
Date: Thu, 16 Jul 1998 11:29:26 -0700 (PDT)
Message-ID: <9807161829.AA16975@hawk.illustra.com> (raw)
In-Reply-To: <35ADDC68.F13FACB0@trust.ee>

> > > hannu-> check (trim(a) <> '' or trim(b) <> ''));
> > > ERROR:  parser: parse error at or near "trim"
> > 
> > TRIM is keyword, not a function...
> > We have to copy some lines in gram.y

I think that having trim as a keyword is a problem. The primary virtue of
postgres is that everything is either a function or a type and as such is
definable by the user and resolved at runtime. Making a keyword out of a
function spoils that capability.

-dg


David Gould            dg@illustra.com           510.628.3783 or 510.305.9468 
Informix Software  (No, really)         300 Lakeside Drive  Oakland, CA 94612
 - If simplicity worked, the world would be overrun with insects. -



view thread (29+ messages)  latest in thread

Message-ID: <9807161829.AA16975@hawk.illustra.com>
Permalink:  ../9807161829.AA16975@hawk.illustra.com/
Also on:    postgresql.org/message-id/9807161829.AA16975@hawk.illustra.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: dg@illustra.com, hannu@trust.ee, vadim@krs.ru, hackers@postgreSQL.org
  Subject: Re: [INTERFACES] Re: [HACKERS] changes in 6.4
  In-Reply-To: <9807161829.AA16975@hawk.illustra.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox