Re: Timeline ID hexadecimal format

Поиск
Список
Период
Сортировка
От Sébastien Lardière
Тема Re: Timeline ID hexadecimal format
Дата
Msg-id c6bfa979-d6bd-e2cf-f975-116a9b4229b9@lardiere.net
обсуждение исходный текст
Ответ на Re: Timeline ID hexadecimal format  (Greg Stark <stark@mit.edu>)
Список pgsql-hackers
On 31/01/2023 20:16, Greg Stark wrote:
> The fact that the *filename* has it encoded in hex is an
> implementation detail and really gets exposed here because it's giving
> you the underlying system error that caused the problem.


It's an implementation detail, but an exposed detail, so, people refer 
to the filename to find the timeline ID (That's why it happened to me)


>   The confusion
> only arises when the two are juxtaposed. A hint or something just in
> that case might be enough?
>
>

Thanks, i got your point.

  Note that my proposal was to remove the ambiguous notation which 
happen in some case (as in 11 <-> 17). A hint is useless in most of the 
case, because there is no ambiguous. That's why i though format 
hexadecimal everywhere.


At least, can I propose to improve the documentation to expose the fact 
that the timeline ID is exposed in hexadecimal in filenames but must be 
used in decimal in recovery_target_timeline and pg_waldump ?


regards,

-- 
Sébastien




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: RLS makes COPY TO process child tables
Следующее
От: Pavel Borisov
Дата:
Сообщение: Re: About PostgreSQL Core Team