Comment 10 for bug 1796407

Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

This is still valid for bionic and focal. It is possibly reproducible in jammy as well, but since we do not have an official newer version in to test in jammy, we cannot easily get a higher version to get a simple reproducer.

Steps to reproduce:

From a bionic/focal vm:

# apt update && apt install -y docker.io postgresql postgresql-common postgresql-client-common
# docker run -d --name postgres-13 -p 5433:5432 -e POSTGRES_PASSWORD=postgres ubuntu/postgres:13-21.10_beta
# pg_dump -h localhost --user postgres -p 5433
pg_dump: server version: 13.5 (Ubuntu 13.5-0ubuntu0.21.10.1); pg_dump version: 10.19 (Ubuntu 10.19-0ubuntu0.18.04.1)
pg_dump: aborting because of server version mismatch