<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.178 2003/11/04 09:55:38 petere Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.179 2003/11/24 14:49:51 tgl Exp $
PostgreSQL documentation
-->
<literal>false</literal> instead. The function corresponds to the
SQL command <command>SET</command>. An example:
<programlisting>
-SELECT set_config('show_statement_stats', 'off', false);
+SELECT set_config('log_statement_stats', 'off', false);
set_config
------------
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.221 2003/11/16 17:01:50 tgl Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.222 2003/11/24 14:49:51 tgl Exp $
-->
<Chapter Id="runtime">
<row>
<entry><option>-s</option><footnoteref linkend="fn.runtime-config-short"></entry>
- <entry><literal>show_statement_stats = on</></entry>
+ <entry><literal>log_statement_stats = on</></entry>
</row>
<row>
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.375 2003/10/19 23:43:51 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.376 2003/11/24 14:49:51 tgl Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
/*
* s - report usage statistics (timings) after each query
*/
- SetConfigOption("show_statement_stats", "true", ctx, gucsource);
+ SetConfigOption("log_statement_stats", "true", ctx, gucsource);
break;
case 't':
errs++;
break;
case 'e':
- tmp = "show_executor_stats";
+ tmp = "log_executor_stats";
break;
default:
errs++;
ereport(WARNING,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("statement-level statistics are disabled because parser, planner, or executor statistics are on")));
- SetConfigOption("show_statement_stats", "false", ctx, gucsource);
+ SetConfigOption("log_statement_stats", "false", ctx, gucsource);
}
if (!IsUnderPostmaster)
if (!IsUnderPostmaster)
{
puts("\nPOSTGRES backend interactive interface ");
- puts("$Revision: 1.375 $ $Date: 2003/10/19 23:43:51 $\n");
+ puts("$Revision: 1.376 $ $Date: 2003/11/24 14:49:51 $\n");
}
/*