Re: autovacuum and reloptions

Поиск
Список
Период
Сортировка
От Euler Taveira de Oliveira
Тема Re: autovacuum and reloptions
Дата
Msg-id 491984F9.8070203@timbira.com
обсуждение исходный текст
Ответ на Re: autovacuum and reloptions  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Ответы Re: autovacuum and reloptions  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: autovacuum and reloptions  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Re: autovacuum and reloptions  (Euler Taveira de Oliveira <euler@timbira.com>)
Список pgsql-hackers
ITAGAKI Takahiro escreveu:

[Sorry for the delay. I'm preparing the final patch and in a day or so
I'll post it.]

> I have a comment about reloptions of autovacuum parameters:
> I'd like to have an easier way to extract individual parameters.
> 
> Alvaro Herrera <alvherre@commandprompt.com> wrote:
> 
>> Euler Taveira de Oliveira wrote:
>>> What did I already do? I refactored reloptions.c to support multiple
>>> options. I tried to follow up the same way GUC do (of course, it is much
>>>  simpler). I'm thinking about removing (replacing?) StdRdOptions 'cause
>>> we need a different struct to store reloptions. Suggestions?
>> Interesting.
> 
> We store reloptions as an array of 'key=value' text, but there is
> no official way to read each parameter. I always create an user
> defined function to extract fillfactors, but it would be better
> if we have a standard method to do that.
> 
We will have an official function (getRelOptions()?) to extract the
reloption (autovacuum) parameters because we need to transform
pg_autovacuum catalog table in a view to maintain backward compatibility.


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



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

Предыдущее
От: Ron Mayer
Дата:
Сообщение: Interval code refactoring patch (Was: Re: Patch for ISO-8601-Interval Input and output.)
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: autovacuum and reloptions