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 ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org