pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Fuhr <mike@fuhr.org>
Cc: John DeSoi <desoi@pgedit.com>
Cc: 'pgsql-sql@postgresql.org' SQL <pgsql-sql@postgresql.org>
Subject: Re: info is a reserved word?
Date: Thu, 12 Jan 2006 23:21:28 -0500
Message-ID: <21184.1137126088@sss.pgh.pa.us> (raw)
In-Reply-To: <20060113012932.GA71559@winnie.fuhr.org>
References: <304B868D-CE4E-4E43-8B85-4CA238BB0F94@pgedit.com>
	<20060113012932.GA71559@winnie.fuhr.org>

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



view thread (5+ messages)  latest in thread

Message-ID: <21184.1137126088@sss.pgh.pa.us>
Permalink:  ../21184.1137126088@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21184.1137126088@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mike@fuhr.org, desoi@pgedit.com
  Subject: Re: info is a reserved word?
  In-Reply-To: <21184.1137126088@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox