Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: bug plpython compile error for win32


  • From: Andrew Dunstan <andrew(at)dunslane(dot)net>
  • To: "Korea PostgreSQL Users' Group" <pgsql-kr(at)postgresql(dot)or(dot)kr>
  • Cc: pgsql-hackers-win32(at)postgresql(dot)org
  • Subject: Re: bug plpython compile error for win32
  • Date: Thu, 23 Dec 2004 13:47:59 -0500
  • Message-id: <41CB12DF(dot)5060504(at)dunslane(dot)net>



Korea PostgreSQL Users' Group wrote:

plpython can not complie source contain \r\n characters.

I made plpython function to use pgAdmin. but I could not run this function.

plpython module could not compiled this function because this function's source code had \r\n characters.

So, I removed \r, then I could use this function.

Please fix this error.

OS: windows xp
PostgreSQL:  PostgreSQL 8.0.0rc2 on i686-pc-mingw32, compiled by GCC gcc.exe (GCC) 3.3.1 (mingw special 20030804-1)




Without delving at all deeply this looks like a python error - surely on Windows the interpreter should expect \r\n line endings.

cheers

andrew



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group