Re: How to get around this limitation (ALTER DATABASE db SET search_path = ...)

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: How to get around this limitation (ALTER DATABASE db SET search_path = ...)
Дата
Msg-id CAOR=d=2mPfp5ZuWLBm98qEu5Wj+sseGwUTpfHd5ZppeC+i8S7w@mail.gmail.com
обсуждение исходный текст
Ответ на How to get around this limitation (ALTER DATABASE db SET search_path = ...)  ("David Johnston" <polobo@yahoo.com>)
Список pgsql-general
On Thu, Sep 1, 2011 at 1:24 PM, David Johnston <polobo@yahoo.com> wrote:
> Hi,
>
>
>
> From the documentation:
>
> “Whenever a new session is subsequently started in that database, the
> specified value becomes the session default value.”
>
> Is there some way to get existing sessions to see the new search_path
> without forcing them to reconnect.

Think about what you're asking.  Imagine you're in the middle of a
transaction using one search path, and suddenly, mid transaction it
just changes.  I don't think you can force it without killing off the
backend the other user's are attached to and forcing them to
reconnect.

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

Предыдущее
От: Rory Campbell-Lange
Дата:
Сообщение: UPDATE using query; per-row function calling problem
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_upgrade from 8.3.4 issue