Re: Bug: PGAdmin + plpythonu + windows

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Sim Zacks <sim(at)compulab(dot)co(dot)il>
Cc: pgadmin-support(at)postgresql(dot)org, "PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Bug: PGAdmin + plpythonu + windows
Date: 2004-10-20 14:10:39
Message-ID: 417671DF.3020207@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support pgsql-bugs

Sim Zacks wrote:
> PGAdmin 1.2.0 Beta 2
> Multi-line functions in plpythonu do not work when created using
> pgadmin. The function is created but when it is run for the first time
> an error of "cannot compile. syntax error on line 2" is given. The
> functions have been tested and work when created with psql.
>
> The problem appears to be do to the windows CRLF as opposed to the
> *NIX LF.

Which PostgreSQL version and platform (both client and server)?
From your description, I'd call this a plpythonu bug; I don't have it
running to verify this, thus I cross posted to pgsql-bugs.

IMHO any pgsql language should handle cr, crlf and lf equally as line
feed, to avoid client/server eol interpretation discrepancies.

Regards,
Andreas

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Sim Zacks 2004-10-20 14:18:08 Re: Bug: PGAdmin + plpythonu + windows
Previous Message Andreas Pflug 2004-10-20 13:45:22 Re: pgadmin3 beta3 build failure at wxMBConv::MB2WC()

Browse pgsql-bugs by date

  From Date Subject
Next Message Sim Zacks 2004-10-20 14:18:08 Re: Bug: PGAdmin + plpythonu + windows
Previous Message frederic.germaneau 2004-10-20 12:58:27 postgreSQL 8.0 béta3