Re: reloptions with a "namespace"

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: reloptions with a "namespace"
Дата
Msg-id 20090202161111.GA3963@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: reloptions with a "namespace"  (Euler Taveira de Oliveira <euler@timbira.com>)
Ответы Re: reloptions with a "namespace"
Список pgsql-hackers
Euler Taveira de Oliveira wrote:
> Alvaro Herrera escreveu:
> > New patch attached, with pg_dump support (thanks to Tom for the SQL
> > heads-up).
> > 
> Great! We're close. Just two minor gripes:
> 
> +     char       *validnsps[] = { "toast" };
> 
> Surely, you forgot to add a NULL at the end. Patch is attached.

Right, thanks.

> 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.



-- 
Alvaro Herrera                               http://www.PlanetPostgreSQL.org/
"Saca el libro que tu religión considere como el indicado para encontrar la
oración que traiga paz a tu alma. Luego rebootea el computador
y ve si funciona" (Carlos Duclós)


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Grzegorz Jaskiewicz
Дата:
Сообщение: Re: add_path optimization
Следующее
От: Chad Sellers
Дата:
Сообщение: Re: How to get SE-PostgreSQL acceptable