Re: Re: plpgsql: Debug function?

Поиск
Список
Период
Сортировка
От Turbo Fredriksson
Тема Re: Re: plpgsql: Debug function?
Дата
Msg-id 87bsm8ngff.fsf@papadoc.bayour.com
обсуждение исходный текст
Ответ на Re: plpgsql: Debug function?  (Turbo Fredriksson <turbo@bayour.com>)
Ответы Re: Re: plpgsql: Debug function?  (Bill Studenmund <wrstuden@zembu.com>)
Список pgsql-hackers
>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:
   >> Is there a way to debug a PL/pgSQL function? It's behaving very   >> irradic!
   Joel> It's crude, but you can output debugging statements w/ RAISE   Joel> NOTICE or catch flawed assumptions by
RAISEEXCEPTION.
 
   Tom> Also try turning on query logging, so you can see in the   Tom> postmaster log the queries plpgsql is sending
tothe SQL   Tom> engine.
 

Would that be the 'debug_print_query = true' in posgresql.conf?

It IS true, but still nothing in the syslog...

-- Turbo     __ _     Debian GNU     Unix _IS_ user friendly - it's just ^^^^^    / /(_)_ __  _   ___  __  selective
aboutwho its friends are         / / | | '_ \| | | \ \/ /   Debian Certified Linux Developer   _ /// / /__| | | | | |_|
|> <  Turbo Fredriksson   turbo@tripnet.se \\\/  \____/_|_| |_|\__,_/_/\_\ Stockholm/Sweden
 

PLO Legion of Doom domestic disruption Clinton spy Rule Psix Nazi
quiche radar fissionable BATF SDI bomb security NSA
[See http://www.aclu.org/echelonwatch/index.html for more about this]


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

Предыдущее
От: Zudi Iswanto
Дата:
Сообщение: ...
Следующее
От: Turbo Fredriksson
Дата:
Сообщение: plpgsql: 'SELECT * FROM tbl'