Re: Set new system identifier using pg_resetxlog
От | Michael Paquier |
---|---|
Тема | Re: Set new system identifier using pg_resetxlog |
Дата | |
Msg-id | CAB7nPqQJS+10T8RdxmLU5C-NafZ0KxQQBYyrnxwuY7ECRwggRQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Set new system identifier using pg_resetxlog (Sawada Masahiko <sawada.mshk@gmail.com>) |
Список | pgsql-hackers |
<div dir="ltr"><br /><div class="gmail_extra"><br /><br /><div class="gmail_quote">On Thu, Jun 26, 2014 at 2:43 AM, SawadaMasahiko <span dir="ltr"><<a href="mailto:sawada.mshk@gmail.com" target="_blank">sawada.mshk@gmail.com</a>></span>wrote:<br /><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px#ccc solid;padding-left:1ex"><font><span style="background-color:rgba(255,255,255,0)">Hi,<br /><br />Isend you review comment about thie patch.<br /><br /> I found no error/warning with compling and installation.<br />Ihave executed pg_resetxlog with some input pattern.<br /><br />$ initdb -D data -E UTF8 --no-locale<br />$ pg_controldatadata | grep "Database system identifier"<br />Database system identifier: 6028907917695471865<br/><br />--<br />$ pg_resetxlog -s -n data | grep "Database system identifier"<br /> Databasesystem identifier: 6028907917695471865<br /><br />The -s option does not works<span></span> fine with -noption.<br /><br />--<br />$ pg_resetxlog -s6028907917695471865111111111111111111111111111111111111111111111111111111 data<br/> Transaction log reset<br />$ pg_controldata data | grep "Database system identifier"<br />Database system identifier: 18446744073709551615<br /><br />pg_resetxlog is finished successfully, but system identifier was notchanged.<br /> Also I think that checking data about number of digits is needed.<br /></span></font></blockquote><spanclass="HOEnZb"><font color="#888888"><br /></font></span></div><div class="gmail_quote"><spanclass="HOEnZb"><font color="#888888"> Yep, system_identifier is a uint64, and the input you aregiving here is incompatible with that.<br /></font></span></div>-- <br />Michael<br /></div></div>
В списке pgsql-hackers по дате отправления: