Re: Finding line of bug in sql function

From: Mariusz Jadczak <mjadczak(at)polsoft(dot)pl>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Finding line of bug in sql function
Date: 2003-05-28 14:50:30
Message-ID: 20030528165030.A24242@ps-411.polsoft.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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?

Regards, Mariusz

--
Mariusz Jadczak <mjadczak(at)polsoft(dot)pl>, linux user #192344
_________________________________________________________
Polsoft Engineering Sp. z.o.o, http://www.polsoft.pl

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Carmen Wai 2003-05-28 15:14:11 Lock table
Previous Message Rory Campbell-Lange 2003-05-28 13:21:13 Re: Finding line of bug in sql function