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