alter table .. reset not throwing an error if storage_parameter name is wrong

From: tushar <tushar(dot)ahuja(at)enterprisedb(dot)com>
To: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: alter table .. reset not throwing an error if storage_parameter name is wrong
Date: 2016-04-28 12:07:45
Message-ID: 5721FD11.2080809@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

I checked in PG 9.6 , if i provide any wrong storage parameter name
while doing alter table , reset is not
throwing an error :-

\\throwing error , expected
postgres=# alter table lon set (foo=10);
ERROR: unrecognized parameter "foo"

\\working ?
postgres=# alter table lon reset (foo);
ALTER TABLE

--
regards,tushar

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2016-04-28 12:38:40 Re: alter table .. reset not throwing an error if storage_parameter name is wrong
Previous Message Alvaro Herrera 2016-04-28 11:28:50 Re: BUG #14109: pg_rewind fails to update target control file in one scenario