Re: multiline PL/Python function fails in *.sql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: wolfgang(at)rohdewald(dot)de
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: multiline PL/Python function fails in *.sql
Date: 2003-12-03 16:07:07
Message-ID: 352.1070467627@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Wolfgang Rohdewald <wolfgang(at)rohdewald(dot)de> writes:
> but multiline only works when using psql interactively.

I'm not much of a Python user, but doesn't Python think that leading
whitespace (particularly tabs) is significant? You may be losing
tabs if psql tries to take them as completion commands.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message SaiHertz And Control Systems 2003-12-03 16:33:09 Auto commit Off how will it effect us ?
Previous Message Tom Lane 2003-12-03 16:03:22 Re: Failed to create a function SOLVED