Search Postgresql Archives

Re: Is there a way to add a detail message in a warning with pl/Python?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Em 29/01/2013 17:30, Adrian Klaver escreveu:
> Why not:
> 
> DO $$
>     plpy.warning('test, detail')
> $$ LANGUAGE plpythonu;
> 
> In log:
> 
> WARNING:  test, detail
> 

Because pgBadger doesn't use it this way:

http://dalibo.github.com/pgbadger/example.html#NormalizedErrorsMostFrequentReport

I read the code yesterday, and didn't find how to get a detail through
it. Maybe my C knowledge is somewhat broken...

-- 
Daniel Cristian Cruz
Unidade de Tecnologia da Informação

Sistema FIESC
Rod. Admar Gonzaga, 2765 - Itacorubi - 88034-001 - Florianópolis - SC
Fone (48) 3239-1422 -  e-mail: daniel.cruz@xxxxxxxxxxx
site: http://www.sistemafiesc.org.br

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux