Re: Getting available options

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Getting available options
Дата
Msg-id 200802191456.42476.peter_e@gmx.net
обсуждение исходный текст
Ответ на Getting available options  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Getting available options  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Am Dienstag, 19. Februar 2008 schrieb Magnus Hagander:
> 1) Extend pg_settings with a column that contains an array of the available
> options. Extend the config_string GUC struct with a hook that can return
> this data.

Before we get to the interface for reporting this to the client, I wonder how 
we should deal with this in the backend.  Right now, we have string options 
with assign hooks.  You'd need to add a reporting hook or something for each 
parameter.  I'm thinking, perhaps we should invent a new GUC data type enum, 
now that enum is an accepted way to categorize with data around here. :)  
That could simplify the code a bit.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Getting available options
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Getting available options