Re: Regarding WAL Format Changes - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Regarding WAL Format Changes
Date
Msg-id 2066.1340813775@sss.pgh.pa.us
Whole thread Raw
In response to Re: Regarding WAL Format Changes  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
>> So is there any particular reason for it?

> Not really. There are several messages that use "log file %s", and also 
> several places that use "log segment %s" Should we make it consistent 
> and use either "log segment" or "log file" everywhere?

+1 for uniformity.  I think I'd vote for using "file" and eliminating
the "segment" terminology altogether, but the other direction would be
okay too, and might require fewer changes.

IIRC, in the original coding "segment" meant 16MB worth of WAL while
"file" was sometimes used to denote 4GB worth (ie, the boundaries where
we had to increment the high half of the LSN struct).  Now that 4GB
boundaries are not special, there's no reason to retain the "file"
concept or terminology.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Regarding WAL Format Changes
Next
From: Fujii Masao
Date:
Subject: Re: [ADMIN] pg_basebackup blocking all queries with horrible performance