Re: [INTERFACES] Re: [HACKERS] changes in 6.4

From: dg(at)illustra(dot)com (David Gould)
To: hannu(at)trust(dot)ee (Hannu Krosing)
Cc: vadim(at)krs(dot)ru, pgsql-interfaces(at)postgreSQL(dot)org, hackers(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] Re: [HACKERS] changes in 6.4
Date: 1998-07-16 18:29:26
Message-ID: 9807161829.AA16975@hawk.illustra.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-interfaces

> > > 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(at)illustra(dot)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. -

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 1998-07-16 18:37:17 Re: [INTERFACES] Re: [HACKERS] changes in 6.4
Previous Message James Olin Oden 1998-07-16 18:01:32 Re: [GENERAL] pg_version and version

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-07-16 18:37:17 Re: [INTERFACES] Re: [HACKERS] changes in 6.4
Previous Message ocie 1998-07-16 18:10:18 Re: [HACKERS] How about re-moderating pgsql-announce?

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Momjian 1998-07-16 18:37:17 Re: [INTERFACES] Re: [HACKERS] changes in 6.4
Previous Message Dallas Hockley 1998-07-16 18:24:00 Re: [INTERFACES] "static" libraries?