Re: libpq debug

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Darko Prenosil" <Darko(dot)Prenosil(at)finteh(dot)hr>
Cc: "pgsql interfaces" <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: libpq debug
Date: 2001-11-24 17:52:27
Message-ID: 16215.1006624347@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

"Darko Prenosil" <Darko(dot)Prenosil(at)finteh(dot)hr> writes:
> I know that I can catch notice with error message, but this message often
> looks like this:
> Error near ''''
> If I have function with more than one line, message like this does not help.

Try 7.2 beta ... it reports the line number for plpgsql syntax errors.

regards, tom lane

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message jtv 2001-11-24 18:00:40 Re: Trying to use libpg intrface to postgresql in a windows application.
Previous Message Σίμος Μαυροειδής 2001-11-24 17:19:52 Trying to use libpg intrface to postgresql in a windows application.