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

From Christoph Berg
Subject Re: Renaming of pg_xlog and pg_clog
Date
Msg-id 20161003141959.qhvd6roesj4kpgww@msg.df7cb.de
Whole thread Raw
In response to Re: Renaming of pg_xlog and pg_clog  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
Re: Michael Paquier 2016-09-30 <CAB7nPqR=SZNo_=B1ukwCiNn7aWDcw_dV0z-LG4ys9WF1N4a=uQ@mail.gmail.com>

"pg_trans" is used in two places:

> -pg_clog records the commit status for each transaction that has been assigned
> +pg_trans records the commit status for each transaction that has been assigned

> -    /* copy old commit logs to new data dir */
> -    copy_subdir_files("pg_clog");
> +    /*
> +     * Copy old commit logs to new data dir. pg_clog has been renamed to
> +     * pg_trans in post-10 clusters.

(Fwiw, I'd prefer something shorter than the imho clumsy
pg_transaction. "pg_xact" sounded very fine for me, it also combines
nicely with pg_subxact and the existing pg_multixact.)

Christoph



pgsql-hackers by date:

Previous
From: Christoph Berg
Date:
Subject: Re: Patch to implement pg_current_logfile() function
Next
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Copy-editing for contrib/pg_visibility documentation.