mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Make "log_temp_files" super-user set only, like other logging options.
Simon Riggs
This commit is contained in:
parent
6152de97d3
commit
8ddb739e9d
@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.186 2008/08/19 18:30:04 tgl Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.187 2008/08/22 18:47:07 momjian Exp $ -->
|
||||||
|
|
||||||
<chapter Id="runtime-config">
|
<chapter Id="runtime-config">
|
||||||
<title>Server Configuration</title>
|
<title>Server Configuration</title>
|
||||||
@ -3175,6 +3175,7 @@ local0.* /var/log/postgresql
|
|||||||
values log only files whose size is equal or greater than
|
values log only files whose size is equal or greater than
|
||||||
the specified number of kilobytes. The
|
the specified number of kilobytes. The
|
||||||
default is <literal>-1</>, which disables this logging.
|
default is <literal>-1</>, which disables this logging.
|
||||||
|
Only superusers can change this setting.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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("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)."),
|
gettext_noop("Zero logs all files. The default is -1 (turning this feature off)."),
|
||||||
GUC_UNIT_KB
|
GUC_UNIT_KB
|
||||||
|
Loading…
Reference in New Issue
Block a user