| От | Matthew Rantala |
|---|---|
| Тема | Re: How to find calculated CRC checksum of pg_controldata |
| Дата | |
| Msg-id | 5346D702.7010308@umn.edu обсуждение исходный текст |
| Ответ на | Re: How to find calculated CRC checksum of pg_controldata (Bruce Momjian <bruce@momjian.us>) |
| Список | pgsql-admin |
On 4/9/2014 11:44 AM, Bruce Momjian wrote: > On Thu, Apr 3, 2014 at 08:58:26AM -0500, Matthew Rantala wrote: >> Hello, >> >> Question: Is there a way to obtain the calculated CRC checksum for >> pg_controldata from the command line? > Did you try pg_resetxlog? That should set the checksum properly. > Thanks, Bruce I think I actually tried that and while it did correct the checksum, I think it also closed/finalized the first log file (00000001000000000000001) and modified the checkpoint locations which wasn't going to work in my recovery. There may be a way to avoid that by passing the correct parameters, but I found digging into the source code easier. Thanks again, Matt -- Matthew J Rantala, GISP Minnesota Geological Survey University of Minnesota 2642 University Ave. St. Paul, MN 55114-1057 (612) 627-4780 x206
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера