Bug #764: 7.3b1 : SET gives misleading error information with non-valid option name and multiple arguments

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug #764: 7.3b1 : SET gives misleading error information with non-valid option name and multiple arguments
Date: 2002-09-12 09:48:43
Message-ID: 20020912094843.58817476B75@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tim Knowles (tim(at)ametco(dot)co(dot)uk) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
7.3b1 : SET gives misleading error information with non-valid option name and multiple arguments

Long Description
PostgrsqSQL 7.3b1

If you use SET with a non-valid option name and multiple arguments it gives a misleading error message suggesting that the non-valid option name is correct and can take only one argument.

Sample Code
test=# set anythinyoulike=1;
ERROR: 'anythinyoulike' is not a valid option name

test=# set anythinyoulike=1,2;
ERROR: SET anythinyoulike takes only one argument

No file was uploaded with this report

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Rod Taylor 2002-09-12 12:12:05 Re: HELP
Previous Message Mats Lofkvist 2002-09-12 08:40:25 Re: _bt_check_unique checks every row in table when doing update??