Re: CONTEXT on PL/pgSQL

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: CONTEXT on PL/pgSQL
Дата
Msg-id 409C20BE.1070505@bigfoot.com
обсуждение исходный текст
Ответ на Re: CONTEXT on PL/pgSQL  (Martin Marques <martin@bugs.unl.edu.ar>)
Список pgsql-sql
Martin Marques wrote:
> El Vie 23 Abr 2004 11:18, Tom Lane escribió:>>>Martin Marques <martin@bugs.unl.edu.ar> writes:>>>>>I have a simple
functionmade with PL/pgSQL and when I call it I get this>>>in the logs:>>>>>>2004-04-23 10:15:32 [30669] LOG:
statement:SELECT nodoSuperior(22) AS>>>sup 2004-04-23 10:15:32 [30669] LOG:  statement: SELECT  $1>>>CONTEXT:  PL/pgSQL
function"nodosuperior" line 7 at assignment>>>>log_statement currently logs everything the parser sees, which
includes>>SQLcommands generated by plpgsql.>>>>Arguably these facilities should be separated, but until someone>>makes
aserious effort to provide plpgsql debugging features,>>it's likely that nothing will be done about it.  Right now this
is>>almostthe only technique available for seeing what's going on inside>>a plpgsql function, and crummy as it is, it's
betterthan nothing...>>> So the CONTEXT line just tells where the statement was made?
 

U'r right, you can get rid of that CONTEXT configuring postgresql
with
   log_error_verbosity = terse





Regards
Gaetano Mendola





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

Предыдущее
От: "Jie Liang"
Дата:
Сообщение: Re: \df
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: techniques for manual ordering of data ?