Re: Multiline plpython procedure

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Multiline plpython procedure
Дата
Msg-id 12633.1106289030@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Multiline plpython procedure  (Greg Stark <gsstark@mit.edu>)
Ответы Re: Multiline plpython procedure
Re: Multiline plpython procedure
Список pgsql-general
Greg Stark <gsstark@mit.edu> writes:
> Egads. So the set of valid Python programs is different depending on what
> platform you're on? That's just, uhm, insane.

No quibble here.

> Incidentally, are we sure we've diagnosed this correctly? I'm discussing this
> with some Python developers and they're expressing skepticism. One just tried
> a quick test with a Python program containing a mixture of all three newline
> flavours and it ran fine.

He tried reading 'em from files, using Python's text-format-converting
file reader, no?  See the test case posted up-thread, which demonstrates
that feeding a string directly to PyExec (or whatever its called)
produces newline-sensitive results.

            regards, tom lane

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

Предыдущее
От: "Jason C. Wells"
Дата:
Сообщение: Re: Best Linux Distribution
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Calculating a moving average