Re: libpq debug - Mailing list pgsql-interfaces

From Darko Prenosil
Subject Re: libpq debug
Date
Msg-id 001101c174df$d85d80a0$ef00000a@darko
Whole thread Raw
In response to libpq debug  ("Darko Prenosil" <Darko.Prenosil@finteh.hr>)
Responses Re: libpq debug
List pgsql-interfaces
----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "Darko Prenosil" <Darko.Prenosil@finteh.hr>
Cc: "pgsql interfaces" <pgsql-interfaces@postgresql.org>
Sent: Thursday, November 22, 2001 7:01 PM
Subject: Re: [INTERFACES] libpq debug


> "Darko Prenosil" <Darko.Prenosil@finteh.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@postgresql.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



pgsql-interfaces by date:

Previous
From: "Darko Prenosil"
Date:
Subject: TTY debug
Next
From: "Σίμος Μαυροειδής"
Date:
Subject: Trying to use libpg intrface to postgresql in a windows application.