Re: Renaming of pg_xlog and pg_clog - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Renaming of pg_xlog and pg_clog
Date
Msg-id 0698dcf1-3588-c902-fef2-148354b4a60c@2ndquadrant.com
Whole thread Raw
In response to Re: Renaming of pg_xlog and pg_clog  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List pgsql-hackers
On 8/28/16 8:45 PM, Jim Nasby wrote:
> People accidentally blowing away pg_clog or pg_xlog is a pretty common 
> occurrence, and I don't think there's all that many tools that reference 
> them. I think it's well worth renaming them.

I think a related problem is that the default log directory is called
"pg_log", which is very similar to those other two.  There is no quick
way to tell their meaning apart.

I would consider changing the default from "pg_log" to "log".  Then we'd
also be at the point where we can say, everything starting with "pg_" is
internal, don't touch it.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Renaming of pg_xlog and pg_clog
Next
From: Dave Cramer
Date:
Subject: Re: [PATCH] Send numeric version to clients