Re: Proposal "stack trace" like debugging option in PostgreSQL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Proposal "stack trace" like debugging option in PostgreSQL
Дата
Msg-id 20401.1469980571@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Proposal "stack trace" like debugging option in PostgreSQL  (Edson Richter <edsonrichter@hotmail.com>)
Ответы Re: Proposal "stack trace" like debugging option in PostgreSQL  (Edson Richter <edsonrichter@hotmail.com>)
Список pgsql-general
Edson Richter <edsonrichter@hotmail.com> writes:
> But in production this is not possible, and I would to propose a feature
> that has less impact over production then a debug extension: a
> stacktrace of calls.

> Simular to Java stack traces, but disabled by default. When enabled, In
> case of an event like "duplicate key" (or a function raise exception) or
> other similar problems that wont allow the database to execute the SQL
> command,the strack trace will bring the complete list of function call.

Uh, doesn't the CONTEXT field of error messages give you that already?

            regards, tom lane


В списке pgsql-general по дате отправления:

Предыдущее
От: Jason Dusek
Дата:
Сообщение: Re: Uber migrated from Postgres to MySQL
Следующее
От: Edson Richter
Дата:
Сообщение: Re: Proposal "stack trace" like debugging option in PostgreSQL