Re: Multiline plpython procedure

From: "Frank D(dot) Engel, Jr(dot)" <fde101(at)fjrhome(dot)net>
To: Postgres general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: Multiline plpython procedure
Date: 2005-01-20 00:06:49
Message-ID: 2E0997BD-6A77-11D9-9730-0050E410655F@fjrhome.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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[(at)]dcc(dot)uchile(dot)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(at)fjrhome(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Rylander 2005-01-20 00:08:09 Fwd: sorting library of congress numbers
Previous Message Dann Corbit 2005-01-19 23:55:35 Re: Unique Index