Re: Finding line of bug in sql function

From: Rory Campbell-Lange <rory(at)campbell-lange(dot)net>
To: Mariusz Jadczak <mjadczak(at)polsoft(dot)pl>, pgsql-general(at)postgresql(dot)org
Subject: Re: Finding line of bug in sql function
Date: 2003-05-28 15:42:21
Message-ID: 20030528154221.GA5689@campbell-lange.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Beginning of function body. Great! Thanks. Rory.

On 28/05/03, Mariusz Jadczak (mjadczak(at)polsoft(dot)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(at)campbell-lange(dot)net>
<www.campbell-lange.net>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vivek Khera 2003-05-28 16:03:05 Re: PostgreSQL Performance on OpenBSD
Previous Message Carmen Wai 2003-05-28 15:14:11 Lock table