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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: rlasjunies(at)free(dot)fr (Richard LASJUNIES)
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: multiline PL/Python function fails in *.sql
Date: 2004-01-05 05:41:18
Message-ID: 22014.1073281278@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

rlasjunies(at)free(dot)fr (Richard LASJUNIES) writes:
> I reproduced the problem, using pgAdmin III.
> My postgre 7.4.1 is running on WXP SP1 / cygwin

Python is sensitive to leading whitespace --- perhaps whatever you
are using to enter the function is mucking up your indentation?

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Glaesemann 2004-01-05 06:13:47 Re: Timestamp vs. Interval and formatting....
Previous Message Dan Jewett 2004-01-05 01:30:32 Re: Timestamp vs. Interval and formatting....