Re: How to EXPLAIN a trigger function
| От | Albe Laurenz |
|---|---|
| Тема | Re: How to EXPLAIN a trigger function |
| Дата | |
| Msg-id | A737B7A37273E048B164557ADEF4A58B50F92C76@ntex2010i.host.magwien.gv.at обсуждение исходный текст |
| Ответ на | How to EXPLAIN a trigger function (Zdeněk Bělehrádek<zdenek.belehradek@superhosting.cz>) |
| Ответы |
Re: How to EXPLAIN a trigger function
Re: How to EXPLAIN a trigger function |
| Список | pgsql-general |
Zdenek Belehrádek wrote: > We > would like to know if there is simple way to EXPLAIN the trigger function, so > we could optimize it. I believe that the auto_explain module could help you: http://www.postgresql.org/docs/current/static/auto-explain.html If you turn on "auto_explain.log_nested_statements" and set "auto_explain.log_min_duration" low enough, the execution plans of all SQL statements calle from a function will be logged. Yours, Laurenz Albe
В списке pgsql-general по дате отправления: