Re: reloptions with a "namespace" - Mailing list pgsql-hackers

From Euler Taveira de Oliveira
Subject Re: reloptions with a "namespace"
Date
Msg-id 49882F45.80500@timbira.com
Whole thread Raw
In response to Re: reloptions with a "namespace"  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: reloptions with a "namespace"  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
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/


pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Re: Compiler warning in ecpglib/execute.c
Next
From: "K, Niranjan (NSN - IN/Bangalore)"
Date:
Subject: Synch Replication