Re: libpq debug

From: "Darko Prenosil" <Darko(dot)Prenosil(at)finteh(dot)hr>
To: "pgsql interfaces" <pgsql-interfaces(at)postgresql(dot)org>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: libpq debug
Date: 2001-11-24 12:01:59
Message-ID: 001101c174df$d85d80a0$ef00000a@darko
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


----- Original Message -----
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>
Sent: Thursday, November 22, 2001 7:01 PM
Subject: Re: [INTERFACES] libpq debug

> "Darko Prenosil" <Darko(dot)Prenosil(at)finteh(dot)hr> writes:
> > Does anyone know how to set the debug TTY in libpq client library ?
>
> You can't anymore (it was deemed a security risk some time ago).
> The backend ignores the tty argument now.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

Is there any other way to debug plpgsql functions through libpq ?
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.

Thanks for Your previous answer !

Darko

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Σίμος Μαυροειδής 2001-11-24 17:19:52 Trying to use libpg intrface to postgresql in a windows application.
Previous Message lee 2001-11-22 20:22:04 thanksgiving prayer