Re: plpython function problem workaround
От | Ragnar Hafstað |
---|---|
Тема | Re: plpython function problem workaround |
Дата | |
Msg-id | 1110901297.26975.42.camel@localhost.localdomain обсуждение исходный текст |
Ответ на | Re: plpython function problem workaround (David <dbree@duo-county.com>) |
Ответы |
Re: plpython function problem workaround
Re: plpython function problem workaround |
Список | pgsql-general |
On Tue, 2005-03-15 at 07:33 -0600, David wrote: > [about the line-termination problem in plpython] > I'd like to insert one note here. While I'm not particularly familiar > with either perl or python, when I encountered the referred-to thread > regarding Windows/Unix newline incompatibilities in Python, I ran some > tests on my Linux system. I wrote some very simple scripts in Perl and > Python and tested them. They ran OK when I saved them in native Linux > newlines, they ran, but if I saved them in DOS mode (vim), neither the > Python nor the Perl scripts would run. actually, perl scripts with \r\n line endings will run just fine in unix/linux. what you might have been experiencing, is the fact that the unix shell is expecting \n lineendings, and the #! line could have been failing to run the perl executable. gnari
В списке pgsql-general по дате отправления: