Re: Patch to allow pg_filedump to support reading of pg_filenode.map

Поиск
Список
Период
Сортировка
От Justin Pryzby
Тема Re: Patch to allow pg_filedump to support reading of pg_filenode.map
Дата
Msg-id 20210429190531.GN27406@telsasoft.com
обсуждение исходный текст
Ответ на Re: Patch to allow pg_filedump to support reading of pg_filenode.map  (Richard Yen <richyen3@gmail.com>)
Ответы Re: Patch to allow pg_filedump to support reading of pg_filenode.map
Список pgsql-hackers
I think you should be able to avoid crashing if passed a non-relmapper file.
Make sure not to loop over more mappings than exist in the relmapper file of
the given size.

I guess you should warn if the number of mappings is too large for the file's
size.  And then "cap" the number of mappings to the maximum possible number.

-- 
Justin



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Remove redundant variable from transformCreateStmt
Следующее
От: Richard Yen
Дата:
Сообщение: Re: Patch to allow pg_filedump to support reading of pg_filenode.map