From: Bruce Momjian Date: Sun, 25 Jan 2004 00:36:18 +0000 (+0000) Subject: Mention that log_statement only prints query on PREPARE, not EXECUTE, X-Git-Tag: REL8_0_0BETA1~1286 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8303a3d1eaba04d470d5a7c0cfc46cbd13d7f8fd;p=postgresql Mention that log_statement only prints query on PREPARE, not EXECUTE, and PL/pgSQL only prints queries on first function call. --- diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index ad4a6f9845..db9a8268d7 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -1,5 +1,5 @@ @@ -1822,8 +1822,11 @@ SET ENABLE_SEQSCAN TO OFF; Causes each SQL statement to be logged. The default is off. - Only superusers can turn off this option if it is enabled by - the administrator. + EXECUTE only displays the plan name, not the + prepared query. Server-side languages like + PL/pgSQL that store functions in a cache only + display their queries on first function call. superusers can + turn off this option if it is enabled by the administrator.