Re: creating/accessing new runtime parameters

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: creating/accessing new runtime parameters
Дата
Msg-id 3F71C483.4080601@joeconway.com
обсуждение исходный текст
Ответ на Re: creating/accessing new runtime parameters  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: creating/accessing new runtime parameters  (<brook@biology.nmsu.edu>)
Список pgsql-hackers
Tom Lane wrote:
> <brook@biology.nmsu.edu> writes:
>>I take it there is not way to do this dynamically, for example to
>>support a dynamically loaded function?
> 
> Not at the moment, although IIRC the guc.c data structures are designed
> to make it possible to add things on-the-fly.  (There's a pointer table
> that's built dynamically, and in theory could contain more entries than
> are in the hardcoded tables.)  You'd need to add a routine to actually
> add an entry ... and figure out where to call it from ...
> 

I had a patch about 80% complete to do this, but it was rejected. The 
comment was that I should use a temp table instead. I still think it 
would be useful myself. See this thread:

http://archives.postgresql.org/pgsql-hackers/2002-12/msg00988.php

Joe



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] pgindented tsearch2 for 7.3.4
Следующее
От: Greg Stark
Дата:
Сообщение: Re: pg_dump doesn't dump binary compatible casts