Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group