Re: Multiline plpython procedure - Mailing list pgsql-general

From Frank D. Engel, Jr.
Subject Re: Multiline plpython procedure
Date
Msg-id 2E0997BD-6A77-11D9-9730-0050E410655F@fjrhome.net
Whole thread Raw
In response to Re: Multiline plpython procedure  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Responses Re: Multiline plpython procedure
List pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Uh, does the Python doc specify "platform" line endings, or "normal
(\n)" line endings?  It sounded to me like it always wanted the
UNIX-style \n line endings, so that using those would result in
portability...

On Jan 19, 2005, at 6:03 PM, Alvaro Herrera wrote:

> 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)
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if
> your
>       joining column's datatypes do not match
>
>
- -----------------------------------------------------------
Frank D. Engel, Jr.  <fde101@fjrhome.net>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten
Son, that whosoever believeth in him should not perish, but have
everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB7vYZ7aqtWrR9cZoRAszxAKCJpwXuWU/icjj8YSyKej/daEhQyQCfRB4I
mk5qcMxWeDRa5RHIxP+9lfw=
=UUu8
-----END PGP SIGNATURE-----



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com


pgsql-general by date:

Previous
From: "Dann Corbit"
Date:
Subject: Re: Unique Index
Next
From: Mike Rylander
Date:
Subject: Fwd: sorting library of congress numbers