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

Started by PostgreSQL Bugs Listover 23 years ago2 messagesbugs
Jump to latest
#1PostgreSQL Bugs List
pgsql-bugs@postgresql.org

Tim Knowles (tim@ametco.co.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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: PostgreSQL Bugs List (#1)
Re: Bug #764: 7.3b1 : SET gives misleading error information with non-valid option name and multiple arguments

pgsql-bugs@postgresql.org writes:

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

Fixed, thanks.

regards, tom lane