pg_resetwal: do not allow zero next multixact offset

Started by Zsolt Parragi12 days ago1 messageshackers
Jump to latest
#1Zsolt Parragi
zsolt.parragi@percona.com

Hello

Multixact offset 0 is invalid with the recent 64-bit changes, but it
is still allowed by pg_resetwal (-O 0) and results in broken behavior.

The attached patch adds changes the default value in resetwal and adds
a simple check to reject 0.

Attachments:

0001-pg_resetwal-do-not-allow-zero-next-multixact-offset.patchapplication/octet-stream; name=0001-pg_resetwal-do-not-allow-zero-next-multixact-offset.patchDownload+16-3