Re: Renaming of pg_xlog and pg_clog

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Renaming of pg_xlog and pg_clog
Дата
Msg-id 20160826145033.GP4028@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: Renaming of pg_xlog and pg_clog  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Euler Taveira <euler@timbira.com.br> writes:
> > On 26-08-2016 09:25, Devrim Gündüz wrote:
> >> ...and we also have "pg_logical", that includes a "log" keyword already...
>
> > "clog" and "xlog" is almost "log"; "logical" is not. I don't imagine
> > people confusing "logical" meaning "log".
>
> Well, I dunno; people with a weak grasp of English might have an issue
> there.  But I never liked that directory name anyway; my problem with
> it is I read "pg_logical" and think "logical what?".  Naming things using
> a disconnected adjective is not good, especially one with as many
> potential applications as that one has.  If we're up for renaming things
> under PGDATA, that one is high on my hit list.

iirc, pg_logical also has both temporary and non-temporary data in it
too.  That complicates things for backup utilities that are trying to
exclude all temporary files.  If we actually move all the temp files
into their own directory (or tree), then we're changing what's in
pg_logical anyway, so renaming it seems like a good idea.

Thanks!

Stephen

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Renaming of pg_xlog and pg_clog
Следующее
От: Robert Haas
Дата:
Сообщение: Re: PG_DIAG_SEVERITY and a possible bug in pq_parse_errornotice()