Re: backup WAL files,

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: backup WAL files,
Дата
Msg-id 23896.1200411702@sss.pgh.pa.us
обсуждение исходный текст
Ответ на backup WAL files,  ("Sebastian Reitenbach" <sebastia@l00-bugdead-prods.de>)
Ответы Re: backup WAL files,  (Tom Davies <tgdavies@gmail.com>)
Список pgsql-admin
"Sebastian Reitenbach" <sebastia@l00-bugdead-prods.de> writes:
> The WAL files have names like this:
> 00000001000000010000003C

> I am wonder what the meaning of the two 1 in the filename is?

The first one (the first 8 hex digits actually) are the current
"timeline" number.  The second one isn't very interesting, it's
an artifact of the way that WAL file locations are converted to
file names internally.

> Are the WAL
> file names counted up to FFFFFFFFFFFFFFFFFFFFFFFFF ?
> Then I'll run into problems anyways as these int number are too large to be
> handled by bash.

You definitely should not expect to convert the names to integers.

            regards, tom lane

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

Предыдущее
От: Jean-Marc Pigeon
Дата:
Сообщение: Postgresql 8.2 AUTOVACUUM LOG
Следующее
От: "Ertel, Steve"
Дата:
Сообщение: data table files