Re: info is a reserved word? - Mailing list pgsql-sql

From Tom Lane
Subject Re: info is a reserved word?
Date
Msg-id 21184.1137126088@sss.pgh.pa.us
Whole thread Raw
In response to Re: info is a reserved word?  (Michael Fuhr <mike@fuhr.org>)
Responses Re: info is a reserved word?  (Michael Fuhr <mike@fuhr.org>)
List pgsql-sql
Michael Fuhr <mike@fuhr.org> writes:
> 'info' only seems special in PL/pgSQL, presumably because it's one
> of the possible RAISE levels.  You should also get an error if you
> try 'exception', 'warning', etc.

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?
        regards, tom lane


pgsql-sql by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: info is a reserved word?
Next
From: Michael Fuhr
Date:
Subject: Re: info is a reserved word?