Re: plpython function problem workaround

Поиск
Список
Период
Сортировка
От David
Тема Re: plpython function problem workaround
Дата
Msg-id 20050316131726.GB11121@localhost.localdomain
обсуждение исходный текст
Ответ на Re: plpython function problem workaround  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
On Tue, Mar 15, 2005 at 02:50:06PM -0700, Michael Fuhr wrote:
> On Tue, Mar 15, 2005 at 03:41:37PM +0000, Ragnar Hafstað wrote:
>
> > actually, perl scripts with \r\n line endings will run just fine in
> > unix/linux.
>
> Indeed, and PL/Perl doesn't care.  I just tested several PLs with
> PostgreSQL 8.0.1 on Solaris 9 and here are the results:
>
> PL/pgSQL   CRLF ok
> PL/Perl    CRLF ok
> PL/Ruby    CRLF ok
> PL/Tcl     CRLF ok
> PL/Python  CRLF fails
> PL/R       CRLF fails
>
> Details:

Thanks for the detailed test you ran.  This is something I should have
done before spouting off.

So, really, AIUI, one of the "selling points" for each of the
above-mentioned languages is their portability.  It would appear to me
that this newline incompatibility ought to be considered a major bug in
python.  (Maybe I'm spouting off half-cocked again, though).

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

Предыдущее
От: David
Дата:
Сообщение: Re: plpython function problem workaround
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: 2 questions about types