public inbox for [email protected]  
help / color / mirror / Atom feed
log_connections and log_disconnections
2+ messages / 2 participants
[nested] [flat]

* log_connections and log_disconnections
@ 2011-05-27 11:51 Fujii Masao <[email protected]>
  2011-05-29 19:00 ` Re: log_connections and log_disconnections Peter Eisentraut <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Fujii Masao @ 2011-05-27 11:51 UTC (permalink / raw)
  To: pgsql-docs

Hi,

The GucContext of log_connections and log_disconnections is PGC_BACKEND.
So, in the document, we should use the following expressions

        This parameter cannot be changed after session start.

instead of

        This parameter can only be set in the postgresql.conf file or
on the server command line.

for them? The former is used also for other PGC_BACKEND
parameters (e.g., post_auth_delay). I attached the patch.

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


Attachments:

  [text/x-patch] guc_context_doc_v1.patch (1.4K, 2-guc_context_doc_v1.patch)
  download | inline diff:
*** a/doc/src/sgml/config.sgml
--- b/doc/src/sgml/config.sgml
***************
*** 3527,3534 **** local0.*    /var/log/postgresql
         <para>
          Causes each attempted connection to the server to be logged,
          as well as successful completion of client authentication.
!         This parameter can only be set in the <filename>postgresql.conf</>
!         file or on the server command line.  The default is off.
         </para>
  
         <note>
--- 3527,3534 ----
         <para>
          Causes each attempted connection to the server to be logged,
          as well as successful completion of client authentication.
!         This parameter cannot be changed after session start.
!         The default is off.
         </para>
  
         <note>
***************
*** 3553,3560 **** local0.*    /var/log/postgresql
          <varname>log_connections</varname> but at session termination,
          and includes the duration of the session.  This is off by
          default.
!         This parameter can only be set in the <filename>postgresql.conf</>
!         file or on the server command line.
         </para>
        </listitem>
       </varlistentry>
--- 3553,3559 ----
          <varname>log_connections</varname> but at session termination,
          and includes the duration of the session.  This is off by
          default.
!         This parameter cannot be changed after session start.
         </para>
        </listitem>
       </varlistentry>


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: log_connections and log_disconnections
  2011-05-27 11:51 log_connections and log_disconnections Fujii Masao <[email protected]>
@ 2011-05-29 19:00 ` Peter Eisentraut <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Eisentraut @ 2011-05-29 19:00 UTC (permalink / raw)
  To: Fujii Masao <[email protected]>; +Cc: pgsql-docs

On fre, 2011-05-27 at 20:51 +0900, Fujii Masao wrote:
> Hi,
> 
> The GucContext of log_connections and log_disconnections is PGC_BACKEND.
> So, in the document, we should use the following expressions
> 
>         This parameter cannot be changed after session start.
> 
> instead of
> 
>         This parameter can only be set in the postgresql.conf file or
> on the server command line.
> 
> for them? The former is used also for other PGC_BACKEND
> parameters (e.g., post_auth_delay). I attached the patch.

Committed.





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2011-05-29 19:00 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-05-27 11:51 log_connections and log_disconnections Fujii Masao <[email protected]>
2011-05-29 19:00 ` Peter Eisentraut <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox