1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Make "log_temp_files" super-user set only, like other logging options.

Simon Riggs
This commit is contained in:
Bruce Momjian
2008-08-22 18:47:07 +00:00
parent 6152de97d3
commit 8ddb739e9d
2 changed files with 4 additions and 3 deletions

View File

@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.468 2008/08/22 00:20:40 momjian Exp $
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.469 2008/08/22 18:47:07 momjian Exp $
*
*--------------------------------------------------------------------
*/
@ -1901,7 +1901,7 @@ static struct config_int ConfigureNamesInt[] =
},
{
{"log_temp_files", PGC_USERSET, LOGGING_WHAT,
{"log_temp_files", PGC_SUSET, LOGGING_WHAT,
gettext_noop("Log the use of temporary files larger than this number of kilobytes."),
gettext_noop("Zero logs all files. The default is -1 (turning this feature off)."),
GUC_UNIT_KB