Re: PL/Python SD dict wiped?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PL/Python SD dict wiped?
Дата
Msg-id 30346.1515424987@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PL/Python SD dict wiped?  (Ken Huffman <KHuffman@westell.com>)
Ответы RE: PL/Python SD dict wiped?
Список pgsql-hackers
Ken Huffman <KHuffman@westell.com> writes:
> But if I quit and restart psql and do a subsequent db update, the SD dict is empty again and the one-time logic has
torun again. What is clearing the dict? Is that expected? 

You've got a new backend process.  That dict (or any other Python state)
is only kept within a session.

            regards, tom lane


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

Предыдущее
От: Ken Huffman
Дата:
Сообщение: PL/Python SD dict wiped?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Invalid pg_upgrade error message during live check