Alvaro Herrera escreveu:
>> IIRC, my last patch includes a partial validation code for RESET cases. For
>> example, the last SQL will not be atomic (invalid reloption silently 
>> ignored).
>> So, why not apply the namespace validation code to RESET case too? Patch is
>> attached too.
> 
> No, we must not validate the options passed to RESET, because we want to
> be able to reset even options that we do not currently think that are
> valid.  Consider that we might be trying to clean up after options set
> by a previous version of a module.
> 
Ah, idea withdrawn. But we should at least document this behavior.


-- 
  Euler Taveira de Oliveira
  http://www.timbira.com/

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to