Received: from angular.illustra.com (ifmxoak.illustra.com [206.175.10.34]) by hub.org (8.8.8/8.7.5) with ESMTP id OAA23246; Thu, 16 Jul 1998 14:29:59 -0400 (EDT) Received: from hawk.illustra.com (hawk.illustra.com [158.58.61.70]) by angular.illustra.com (8.7.4/8.7.3) with SMTP id LAA01236; Thu, 16 Jul 1998 11:29:28 -0700 (PDT) Received: by hawk.illustra.com (5.x/smail2.5/06-10-94/S) id AA16975; Thu, 16 Jul 1998 11:29:27 -0700 From: dg@illustra.com (David Gould) Message-Id: <9807161829.AA16975@hawk.illustra.com> Subject: Re: [INTERFACES] Re: [HACKERS] changes in 6.4 To: hannu@trust.ee (Hannu Krosing) Date: Thu, 16 Jul 1998 11:29:26 -0700 (PDT) Cc: vadim@krs.ru, pgsql-interfaces@postgreSQL.org, hackers@postgreSQL.org In-Reply-To: <35ADDC68.F13FACB0@trust.ee> from "Hannu Krosing" at Jul 16, 98 01:56:40 pm Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > > > 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. -