Reputation: 331
I need to run pg_dump from a Node.js docker image (node:16-buster) to a postgres 13.6 docker image. The problem is that for Buster version the only package available for postgresql-client is 11 and I get this messages when trying to run pg:dump.
pg_dump: server version: 13.6; pg_dump version: 11.15 (Debian 11.18-0+deb10u1)
pg_dump: aborting because of server version mismatch
How can I install postgresql-client-13 on Buster?
Upvotes: 0
Views: 1209
Reputation: 331
Finally I found out that for buster postgres-client-13 is not available but it is for bullseye.
So I upgraded to Node:18-bullseye. I hope every thing goes right with this update.
Upvotes: 0