]> granicus.if.org Git - postgresql/commit
Fix pg_upgrade, broken by the xlogid/segno -> 64-bit int refactoring.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 26 Jun 2012 04:35:57 +0000 (07:35 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 26 Jun 2012 04:49:02 +0000 (07:49 +0300)
commit038f3a05092365eca070bdc588554520dfd5ffb9
treebe2c5a611b45e14f8581a275bc34bb0a2ebeb443
parent8a504a363925fc5c7af48cd723da3f7e4d7ba9e2
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.
contrib/pg_upgrade/controldata.c
contrib/pg_upgrade/pg_upgrade.c
contrib/pg_upgrade/pg_upgrade.h
doc/src/sgml/ref/pg_resetxlog.sgml
src/bin/pg_resetxlog/pg_resetxlog.c