From: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
---|---|
To: | Jason Hyett <jason(at)hyett(dot)org> |
Cc: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: Newlines in pl/python functions |
Date: | 2004-08-18 20:38:40 |
Message-ID: | 4123BE50.8070406@pse-consulting.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Jason Hyett wrote:
>
> Hello all,
>
> Sorry if this is not the right forum, but...
>
> I'm running postgres 7.4.3 on Linux with pl/python installed, and
> pgadmin 1.0.2 on windows XP. If I try and create a python function via
> pgadmin I cannot include newlines in the script. The function is updated
> ok, but I get syntax errors when the script compiles. If I remove the
> newlines and put all the code onto one long line then the function
> compiles and executes fine.
>
> If I create the same function on the server using psql then newlines
> work ok, so I'm guessing there's a problem translating the newlines from
> the Windows to Unix formats. Presumably this ought to work?
>
> Just though I'd mention it since I can't find any reference elsewhere
> suggesting this is a known issue.
I wonder if this is a problem with carriage returns (not linefeed).
Does the problem persist if you use pgAdmin on Linux?
Regards,
Andreas
From | Date | Subject | |
---|---|---|---|
Next Message | chester c young | 2004-08-18 22:14:05 | FC2 make problems |
Previous Message | Andreas Pflug | 2004-08-18 20:36:39 | Re: pgAdmin3 bug |