postgresql , 10.0 , pg_xact , pg_wal , log , pg_clog , pg_xlog , pg_log
10.0 把幾個有一定“歧義”的目錄更名了。它們分别為
pg_xlog, pg_clog, pg_log
更名為
pg_wal, pg_xact, log
分别對應wal(write ahead log)日志,事務狀态日志,日志。
省得有人誤删其中的log目錄中的檔案。(還真有發生過)。
壞處是,如果有對應的程式用到了這幾個目錄名的,需要修改一下。
對應patch
這個patch的讨論,詳見郵件組,本文末尾url。
postgresql社群的作風非常嚴謹,一個patch可能在郵件組中讨論幾個月甚至幾年,根據大家的意見反複的修正,patch合并到master已經非常成熟,是以postgresql的穩定性也是遠近聞名的。
<a href="https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=f82ec32ac30ae7e3ec7c84067192535b2ff8ec0e">https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=f82ec32ac30ae7e3ec7c84067192535b2ff8ec0e</a>
<a href="https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=88e66d193fbaf756b3cc9bf94cad116aacbb355b">https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=88e66d193fbaf756b3cc9bf94cad116aacbb355b</a>
<a href="https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=3371e4d9b12455fe1f8d1516d0bd915aab86be17">https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=3371e4d9b12455fe1f8d1516d0bd915aab86be17</a>