misleading error message - Mailing list pgsql-bugs

From Hubert depesz Lubaczewski
Subject misleading error message
Date
Msg-id 20030123143503.GA7543@depesz.pl
Whole thread Raw
List pgsql-bugs
hi
i just spent over 30 minutes trying to discover what was wrong.
i was trying to create view:
> create view views.session_user as
brama-> select 1;
ERROR:  parser: syntax error at or near "session_user" at character 19

now - i know that session_user is reserver word, but the error message
is totally misleading. can this be improved somehow?
i'm using 7.4devel from cvs.

depesz

--=20
hubert depesz lubaczewski                          http://www.depesz.pl/
>  wynajm=EA mieszkanie - 60 metr=F3w, 3 pokoje, piast=F3w - od lutego (po =
  <
-=3D>       remoncie) interesuje ci=EA - napisz: depesz@depesz.pl        <=
=3D-

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Optimizer bug in UPDATE with subselect
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #882: Cannot manually log in to database.