Re: Renaming of pg_xlog and pg_clog

Поиск
Список
Период
Сортировка
От Christoph Berg
Тема Re: Renaming of pg_xlog and pg_clog
Дата
Msg-id 20161003141959.qhvd6roesj4kpgww@msg.df7cb.de
обсуждение исходный текст
Ответ на Re: Renaming of pg_xlog and pg_clog  (Michael Paquier <michael.paquier@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Christoph Berg
Дата:
Сообщение: Re: Patch to implement pg_current_logfile() function
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Copy-editing for contrib/pg_visibility documentation.