Re: rename pg_log directory?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: rename pg_log directory?
Date: 2017-02-27 14:51:26
Message-ID: 22854.1488207086@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> writes:
> How about changing the default for log_directory from 'pg_log' to, say,
> 'log'?

> We have been emphasizing that the prefix "pg_" is for things reserved to
> PostgreSQL, whereas the pg_log directory is entirely an arbitrary
> user-space name. Also, with a different name, the directory would stand
> out more between all the other pg_* directories in the data directory.

No objection to the basic point, but "log" seems perhaps a little too
generic to me. Would something like "server_log" be better?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2017-02-27 14:59:00 Re: Automatic cleanup of oldest WAL segments with pg_receivexlog
Previous Message Magnus Hagander 2017-02-27 14:50:51 Re: Automatic cleanup of oldest WAL segments with pg_receivexlog