Hi, I’m configuring an environment that is pointed at an external AWS rds instance (postgres 11.x)
I notice this error when trying to backup through the UI:
[2019-10-25 21:50:35] Dumping the public schema of the database...
[2019-10-25 21:50:35] pg_dump: server version: 11.5; pg_dump version: 10.10 (Debian 10.10-1.pgdg100+1)
[2019-10-25 21:50:35] pg_dump: aborting because of server version mismatch
I guess this is because the docker container’s pg_dump version is not matching the version of the external rds database. Any suggestions on how to deal with this? Should I just use an external db that isn’t 11.x?
Abbiamo già distribuito su PostgreSQL 11.
Possiamo continuare a usarlo?
È il backup l’unica funzionalità che non funziona?
Come possiamo retrocedere alla versione 10, se non possiamo esportare/importare?
Poiché PostgreSQL è molto affidabile nel mantenere le funzionalità operative e non è incline a rimuovere funzionalità in modo avventato, dovrebbe funzionare, ad eccezione del backup e del ripristino, che dipendono dalla versione di pg_dump del container.
Non lo eseguiamo né lo testiamo, quindi in caso di problemi dovrai gestire tutto da solo.
Eravamo nella stessa situazione: distribuiti su Postgres 11 gestito da GCP perché la documentazione richiedeva Postgres 10 o superiore.
Alla fine abbiamo aggiunto un comando personalizzato al nostro bootstrap per installare gli strumenti client di PG 11 e impostare pg_dump per utilizzare quella versione come predefinita.