Re: Multiline plpython procedure - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Multiline plpython procedure
Date
Msg-id 20050119230336.GC21597@dcc.uchile.cl
Whole thread Raw
In response to Re: Multiline plpython procedure  (Stuart Bishop <stuart@stuartbishop.net>)
Responses Re: Multiline plpython procedure  ("Frank D. Engel, Jr." <fde101@fjrhome.net>)
List pgsql-general
On Thu, Jan 20, 2005 at 09:50:43AM +1100, Stuart Bishop wrote:
> Martijn van Oosterhout wrote:

> >  User defined functions using the Python language must use the newline
> >  delimiter of the server OS. There is currently no standard way of
> >  determining the newline delimiter of the server. Note this also
> >  affects the portability of pg_dump output.
>
> I don't see how it affects the portability of pg_dump. If you have a
> working Python function (with unix line endings), won't pg_dump dump the
> source with unix line endings?

It will ... so it won't work on Windows (maybe Mac OS X) servers.

--
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"La grandeza es una experiencia transitoria.  Nunca es consistente.
Depende en gran parte de la imaginación humana creadora de mitos"
(Irulan)

pgsql-general by date:

Previous
From: "J. Greenlees"
Date:
Subject: Re: Unique Index
Next
From: Mike Rylander
Date:
Subject: Re: sorting library of congress numbers