Re: what happens when you issue ALTER SERVER in a hot environment?

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: what happens when you issue ALTER SERVER in a hot environment?
Дата
Msg-id CAKFQuwY=XfZns9Yu9Uv9doytAK6Aws=z-jgVKB55todjAbAMyQ@mail.gmail.com
обсуждение исходный текст
Ответ на what happens when you issue ALTER SERVER in a hot environment?  (AC Gomez <antklc@gmail.com>)
Ответы Re: what happens when you issue ALTER SERVER in a hot environment?
Список pgsql-general
On Monday, April 6, 2020, AC Gomez <antklc@gmail.com> wrote:
If you issue an  ALTER SERVER command and there are active connections with that server in use or new ones are coming in, what happens? Docs on this command say nothing regarding active processing using the server context and changes to it. So I assume it's just handled.

Not sure if there are exceptions but assume that nothing external will change your current active session’s settings out from underneath you.
 
For example if you alter user/password, I assume that as long as prior user password is still good that actively running processes will keep going.

If you alter a password the old one is by definition no longer good...but it doesn’t matter because authentication only happens once - during login.

David J.

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

Предыдущее
От: AC Gomez
Дата:
Сообщение: what happens when you issue ALTER SERVER in a hot environment?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: what happens when you issue ALTER SERVER in a hot environment?