misleading error message

From: Hubert depesz Lubaczewski <depesz(at)depesz(dot)pl>
To: pgsql-bugs(at)postgresql(dot)org
Subject: misleading error message
Date: 2003-01-23 14:35:03
Message-ID: 20030123143503.GA7543@depesz.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

--
hubert depesz lubaczewski http://www.depesz.pl/
> wynajmę mieszkanie - 60 metrów, 3 pokoje, piastów - od lutego (po <
-=> remoncie) interesuje cię - napisz: depesz(at)depesz(dot)pl <=-

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2003-01-23 18:06:07 Bug #882: Cannot manually log in to database.
Previous Message Tom Lane 2003-01-22 21:46:26 Re: Optimizer bug in UPDATE with subselect