Re: Finding line of bug in sql function - Mailing list pgsql-general

From Rory Campbell-Lange
Subject Re: Finding line of bug in sql function
Date
Msg-id 20030528154221.GA5689@campbell-lange.net
Whole thread Raw
In response to Re: Finding line of bug in sql function  (Mariusz Jadczak <mjadczak@polsoft.pl>)
List pgsql-general
Beginning of function body. Great! Thanks. Rory.

On 28/05/03, Mariusz Jadczak (mjadczak@polsoft.pl) wrote:
>
> On Wed, May 28, 2003 at 02:21:13PM +0100, Rory Campbell-Lange wrote:
> > As far as the function goes, I now know the difference between ELSIFs
> > and ELSE IFs. The function is working now. Still interested in how to
> > find the bug line using vim though.
>
> I think vim works ok. When pointed on the line with beginning of
> function body (the starting ') I pressed 92j and vim went to the
> exact  error  line  (the one  with  ELSE IF ...  where  postgres
> expected END IF instead). Does your vim work differently?

--
Rory Campbell-Lange
<rory@campbell-lange.net>
<www.campbell-lange.net>

pgsql-general by date:

Previous
From: "Carmen Wai"
Date:
Subject: Lock table
Next
From: "frank_lupo"
Date:
Subject: problem delete record error:heap_mark4update