diff options
author | Heikki Linnakangas | 2012-06-26 04:35:57 +0000 |
---|---|---|
committer | Heikki Linnakangas | 2012-06-26 04:49:02 +0000 |
commit | 038f3a05092365eca070bdc588554520dfd5ffb9 (patch) | |
tree | be2c5a611b45e14f8581a275bc34bb0a2ebeb443 /doc/src | |
parent | 8a504a363925fc5c7af48cd723da3f7e4d7ba9e2 (diff) |
Fix pg_upgrade, broken by the xlogid/segno -> 64-bit int refactoring.
The xlogid + segno representation of a particular WAL segment doesn't make
much sense in pg_resetxlog anymore, now that we don't use that anywhere
else. Use the WAL filename instead, since that's a convenient way to name a
particular WAL segment.
I did this partially for pg_resetxlog in the original xlogid/segno -> uint64
patch, but I neglected pg_upgrade and the docs. This should now be more
complete.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/pg_resetxlog.sgml | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/doc/src/sgml/ref/pg_resetxlog.sgml b/doc/src/sgml/ref/pg_resetxlog.sgml index e98ae404459..27b9ab41d0f 100644 --- a/doc/src/sgml/ref/pg_resetxlog.sgml +++ b/doc/src/sgml/ref/pg_resetxlog.sgml @@ -131,13 +131,8 @@ PostgreSQL documentation the directory <filename>pg_xlog</> under the data directory. These names are also in hexadecimal and have three parts. The first part is the <quote>timeline ID</> and should usually be kept the same. - Do not choose a value larger than 255 (<literal>0xFF</>) for the third - part; instead increment the second part and reset the third part to 0. For example, if <filename>00000001000000320000004A</> is the - largest entry in <filename>pg_xlog</>, <literal>-l 0x1,0x32,0x4B</> will - work; but if the largest entry is - <filename>000000010000003A000000FF</>, choose <literal>-l 0x1,0x3B,0x0</> - or more. + largest entry in <filename>pg_xlog</>, use <literal>-l 00000001000000320000004B</> or higher. </para> <note> |