Re: info is a reserved word?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: John DeSoi <desoi(at)pgedit(dot)com>, "'pgsql-sql(at)postgresql(dot)org' SQL" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: info is a reserved word?
Date: 2006-01-13 04:21:28
Message-ID: 21184.1137126088@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

Michael Fuhr <mike(at)fuhr(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message John DeSoi 2006-01-13 04:34:49 Re: Contrib Schemas
Previous Message Christopher Kings-Lynne 2006-01-13 02:03:43 Re: Contrib Schemas

Browse pgsql-sql by date

  From Date Subject
Next Message Michael Fuhr 2006-01-13 04:57:56 Re: info is a reserved word?
Previous Message Michael Fuhr 2006-01-13 01:29:32 Re: info is a reserved word?