Thread: misleading error message

misleading error message

From
Hubert depesz Lubaczewski
Date:
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-