1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-22 12:22:45 +03:00

Add log_min_duration_statement.

Christopher Kings-Lynne
This commit is contained in:
Bruce Momjian
2003-06-11 18:01:14 +00:00
parent 8bfe93c5c8
commit b952d61c54
6 changed files with 66 additions and 14 deletions

View File

@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.128 2003/06/11 05:04:51 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.129 2003/06/11 18:01:14 momjian Exp $
*
*--------------------------------------------------------------------
*/
@@ -55,6 +55,8 @@
#include "utils/pg_locale.h"
#include "pgstat.h"
int log_min_duration_statement = 0;
#ifndef PG_KRB_SRVTAB
#define PG_KRB_SRVTAB ""
@@ -735,6 +737,11 @@ static struct config_int
0, -15, 2, NULL, NULL
},
{
{"log_min_duration_statement", PGC_USERSET}, &log_min_duration_statement,
0, 0, INT_MAX / 1000, NULL, NULL
},
{
{NULL, 0}, NULL, 0, 0, 0, NULL, NULL
}