Re: Implementing SQL/PSM for PG 8.2 - debugger
| От | Tom Lane |
|---|---|
| Тема | Re: Implementing SQL/PSM for PG 8.2 - debugger |
| Дата | |
| Msg-id | 14668.1119966680@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Implementing SQL/PSM for PG 8.2 - debugger (Pavel Stehule <stehule@kix.fsv.cvut.cz>) |
| Ответы |
Re: Implementing SQL/PSM for PG 8.2 - debugger
|
| Список | pgsql-hackers |
Pavel Stehule <stehule@kix.fsv.cvut.cz> writes:
>> What do you think you need for enhanced protocol ?
> What I need? Some like synchronous elog(NOTICE,''), which can return some
> user's interaction, if it's possible. I didn't find how I do it with
> current set of messages. But my knowleadges of protocol are minimal.
It'd probably be smarter to manage the debugging across a separate
connection, so that you could carry out debugging without requiring
sophisticated support for it inside the client program. If it's
single-connection then it will be essentially impractical to debug
except from a few specialized clients such as pgadmin; which will
make it hard to investigate behaviors that are only seen under load
from a client app.
I don't know exactly how to cause such a connection to get set up,
especially remotely. But we should try to think of a way.
regards, tom lane
В списке pgsql-hackers по дате отправления: