postgresql server crash on windows 7 when using plpython

Поиск
Список
Период
Сортировка
От c k
Тема postgresql server crash on windows 7 when using plpython
Дата
Msg-id CAN2Y=uMs3SwWwogKpazMPKFTbuJZngOhaDLxYg+XReJK=BzpPA@mail.gmail.com
обсуждение исходный текст
Ответы Re: postgresql server crash on windows 7 when using plpython  (Adrian Klaver <adrian.klaver@gmail.com>)
Re: [ADMIN] postgresql server crash on windows 7 when using plpython  (Craig Ringer <ringerc@ringerc.id.au>)
Список pgsql-general
Dear Friends,
For client requirements, I am testing postgresql 9.0.4 on windows 7 with plpython. First I installed python 2.7 and then added python installation path to windows PATH variable. Then installed postgresql from one-click installer. Server started and every thing was ok. Then I go to create plpythonu in a database. But it failed. After searching, I found that it needs python 2.6. So I again installed python 2.6 and then dropped plpython from database and created again. It was successful. Normal python functions returning text etc. are working but when conatining

import sys
from uuid import getnode as get_mac
mac = get_mac()
return mac

fails. What will be the reason?

Advance thanks for your help.

Chaitanya Kulkarni

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: table / query as a prameter for PL/pgSQL function
Следующее
От: Cédric Villemain
Дата:
Сообщение: Re: Problem with planner