Re: Multiline plpython procedure

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: Hong Yuan <hongyuan(at)homemaster(dot)cn>, aklaver(at)comcast(dot)net, pgsql-general(at)postgresql(dot)org
Subject: Re: Multiline plpython procedure
Date: 2005-01-18 13:19:08
Message-ID: 17630.1106054348@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael Fuhr <mike(at)fuhr(dot)org> writes:
> http://docs.python.org/ref/physical.html

> "A physical line ends in whatever the current platform's convention
> is for terminating lines. On Unix, this is the ASCII LF (linefeed)
> character. On Windows, it is the ASCII sequence CR LF (return
> followed by linefeed). On Macintosh, it is the ASCII CR (return)
> character."

Seems like Guido has missed a bet here: namely the case of a script
generated on one platform and fed to an interpreter running on another.
If I were designing it, I would say that any Python interpreter should
take all three variants no matter which platform the interpreter itself
is sitting on. Or is cross-platform support not a Python goal?

In short, any bug report on this ought to go to the Python project.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Karsten Hilbert 2005-01-18 13:43:09 Re: What is xmin ?
Previous Message Antony Paul 2005-01-18 12:59:33 What is xmin ?