pg_resetxlog
previous major release of PostgreSQL
RUN apt-get update && \
apt-get install -y postgresql-9.1-dbg
RUN apt-get update && \
apt-get install -y postgresql-9.3-dbg
RUN yum install -y postgresql-upgrade
RUN dnf install -y postgresql-upgrade
RUN apt-get update && \
apt-get install -y postgresql-9.5