Re: SQLFunctionCache and generic plans
От | Pavel Stehule |
---|---|
Тема | Re: SQLFunctionCache and generic plans |
Дата | |
Msg-id | CAFj8pRD0diy5VDP=8B9au5sk_yRknCWqZx35VniBtP_OA4aJNw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: SQLFunctionCache and generic plans (Pavel Stehule <pavel.stehule@gmail.com>) |
Ответы |
Re: SQLFunctionCache and generic plans
|
Список | pgsql-hackers |
Hi
I am checking last patches
Maybe interesting change is the change of error message context
QUERY: SELECT public.dep_req2() || ' req3b'.
-CONTEXT: SQL function "dep_req3b" during startup
+CONTEXT: SQL function "dep_req3b" statement 1
-CONTEXT: SQL function "dep_req3b" during startup
+CONTEXT: SQL function "dep_req3b" statement 1
almost all SQL functions have just one statement, so showing the number of the statement looks useless
(until now, I didn't see multiple statements SQL function) ,
we lost the time info "during startup". Maybe the error message can be enhanced more like plpgsql,
instead of statement numbers, the lines or positions should be displayed.
The changing context text can be done in a separate patch - and in this moment, we
can use old behaviour.
Regards
Pavel
В списке pgsql-hackers по дате отправления: