Re: Application name patch - v4

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Application name patch - v4
Дата
Msg-id 200912011022.14098.andres@anarazel.de
обсуждение исходный текст
Ответ на Re: Application name patch - v4  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers
On Tuesday 01 December 2009 10:16:45 Heikki Linnakangas wrote:
> Dave Page wrote:
> > Upthread, Tom suggested a new 'SET DEFAULT ...' variant of SET which
> > could be used to set the default GUC value that RESET would revert to.
> > This seems to me to be the ideal solution, and I'd somewhat hesitantly
> > volunteer to work on it (hesitantly as it means touching the parser
> > and other areas of the code I currently have no experience of).
> 
> If an application can do SET DEFAULT, how does the connection pooler
> *really* reset the value back to what it was?
Why does it need to? SET DEFAULT should imho only be allowed for values whcih 
can be set during connection initiation. For those it can simply issue the 
sets anyway.

Andres


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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: Application name patch - v4
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Application name patch - v4