Em 10 de fevereiro de 2016 21:35, [email protected]
<[email protected]> escreveu:
> o statement_timeout estando 0 - Significa que ele irá utilizar as confs dos
> usuários, certo?

Da documentação [1]:

---
statement_timeout (integer)

    Abort any statement that takes over the specified number of
    milliseconds, starting from the time the command arrives at
    the server from the client. If log_min_error_statement is set
    to ERROR or lower, the statement that timed out will also be
    logged. A value of zero (the default) turns this off.

    Setting statement_timeout in postgresql.conf is not
    recommended because it affects all sessions.
---

Logo, se está 0 (zero) ele vai utilizar a conf da sessão do
cliente, ou seja, o usuário está fazendo isto intencionalmente
(via SET ... ) ou se você usa um pool de conexão ele pode
estar configurando isto no momento do início da sessão.

Algumas ferramentas de monitoramento definem esta variavel
para evitar que determinadas consultas rodem indefinidamente.

[1] http://www.postgresql.org/docs/9.2/static/runtime-config-client.html
-- 
Dickson S. Guedes
mail/xmpp: [email protected] - skype: guediz
http://github.com/guedes - http://guedesoft.net
http://www.postgresql.org.br
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a