Re: plpythonu strange syntax error

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: plpythonu strange syntax error
Дата
Msg-id 20050305164144.GA70106@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: plpythonu strange syntax error  (Michele Bendazzoli <mickymouse@mickymouse.it>)
Список pgsql-interfaces
On Sat, Mar 05, 2005 at 04:46:02PM +0100, Michele Bendazzoli wrote:

> Yes it works. So the problem is that in Windows system PGAdmin seem to
> create the function with CRLF characters. 
> 
> I don't know if it is a python fault or a pgadmin fault but I think that
> someone should fix it, because it is impossibile to use PGAdmin to
> create plpython function in windows ...

Opinion differs on whose fault it is.  My understanding is that
Python's behavior is intentional, so one could argue that pgAdmin
should take care of the problem.  On the other hand, one could argue
that Python's behavior is silly, and that Python should be fixed.

Since pgAdmin is a more specific tool than Python is, I expect it
would be easier to address the problem in pgAdmin.  But I don't
know enough about pgAdmin to say whether such a "fix" would cause
other problems.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/


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

Предыдущее
От: Michele Bendazzoli
Дата:
Сообщение: Re: plpythonu strange syntax error
Следующее
От: Michele Bendazzoli
Дата:
Сообщение: Is possible to use ODBC (to external db) from pythonpl?