X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id CE3709DD445 for ; Fri, 13 Jan 2006 00:58:05 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 07887-09 for ; Fri, 13 Jan 2006 00:58:04 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id 8CB209DD441 for ; Fri, 13 Jan 2006 00:58:03 -0400 (AST) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id k0D4vv3l010754 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 12 Jan 2006 21:57:59 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.4/8.13.4) with ESMTP id k0D4vuIr088383; Thu, 12 Jan 2006 21:57:56 -0700 (MST) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.4/8.13.4/Submit) id k0D4vuFc088382; Thu, 12 Jan 2006 21:57:56 -0700 (MST) (envelope-from mfuhr) Date: Thu, 12 Jan 2006 21:57:56 -0700 From: Michael Fuhr To: Tom Lane Cc: John DeSoi , "'pgsql-sql@postgresql.org' SQL" Subject: Re: info is a reserved word? Message-ID: <20060113045756.GA88336@winnie.fuhr.org> References: <304B868D-CE4E-4E43-8B85-4CA238BB0F94@pgedit.com> <20060113012932.GA71559@winnie.fuhr.org> <21184.1137126088@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21184.1137126088@sss.pgh.pa.us> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.095 required=5 tests=[AWL=0.095] X-Spam-Score: 0.095 X-Spam-Level: X-Archive-Number: 200601/58 X-Sequence-Number: 23847 On Thu, Jan 12, 2006 at 11:21:28PM -0500, Tom Lane wrote: > plpgsql is not very good about reserving words "minimally", ie, not > treating a word as a keyword outside the context where the keyword > is meaningful. > > This could probably be fixed, or at least greatly reduced, with some > flex/bison hacking. Anyone up for it? Possibly. Would it involve much more than what the main parser's grammar does with unreserved_keyword and friends? I suppose this ought to move to pgsql-hackers. -- Michael Fuhr