Re: Multiline plpython procedure - Mailing list pgsql-general

From Tom Lane
Subject Re: Multiline plpython procedure
Date
Msg-id 14331.1106023714@sss.pgh.pa.us
Whole thread Raw
In response to Re: Multiline plpython procedure  (Hong Yuan <hongyuan@homemaster.cn>)
Responses Re: Multiline plpython procedure
List pgsql-general
Hong Yuan <hongyuan@homemaster.cn> writes:
> I suppose there are some invisible characters inserted into the function
> body by pgAdmin.

Seems like it must be.  You could try pg_dump'ing both versions of the
function and comparing the output files byte-by-byte.

Be sure to let the pgAdmin guys know what you find out.  I'm sure they
are not intentionally trying to break plpython.  (Python is, however,
very far out in left field in considering the amount of whitespace to
be semantically significant.  I personally won't use it voluntarily
because of that one reason...)

            regards, tom lane

pgsql-general by date:

Previous
From: Madison Kelly
Date:
Subject: Re: Logging question
Next
From: Tom Lane
Date:
Subject: Re: Logging question