Re: BUG #19973: Falha Backup

From: Tomas Vondra <tomas(at)vondra(dot)me>
To: Matheus Peliçaro <matheuspelicaro20(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19973: Falha Backup
Date: 2026-12-03 12:33:17
Message-ID: a66934e6-73a9-4814-8888-b6d677f8cae4@vondra.me
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Isn't the error message fairly clear? You're trying to backup a 19.0
server using the pg_dump from 18.6. That is not supported, you have to
use pg_dump from newer version.

I'm not all that familiar with pgAdmin, not sure if it includes pg_dump
or installs it in some way. Maybe try updating pgAdmin.

regards

On 12/2/26 23:42, Matheus Peliçaro wrote:
> image.png
>
> Em qua., 2 de dez. de 2026 às 19:42, PG Bug reporting form
> <noreply(at)postgresql(dot)org <mailto:noreply(at)postgresql(dot)org>> escreveu:
>
> The following bug has been logged on the website:
>
> Bug reference:      19973
> Logged by:          Matheus Pelicaro
> Email address:      matheuspelicaro20(at)gmail(dot)com
> <mailto:matheuspelicaro20(at)gmail(dot)com>
> PostgreSQL version: 19.0
> Operating system:   Windows
> Description:       
>
> Boa noite, ao tentar fazer o Backup do banco de dados ele da erro de
> versão,
> foi a primeira vez que baixei, ele da o seguinte erro, conseguem me
> ajudar?
> pg_dump: error: aborting because of server version mismatch
> pg_dump: detail: server version: 19.0; pg_dump version: 18.6
> pg_dump: error: utility failed with exit code: 1
>
> logo a cima tem o command:
> C:\Program Files\pgAdmin 4\runtime\pg_dump.exe --file "C:\\temp\
> \script.sql"
> --host "localhost" --port "5432" --username "postgres" --no-password
> --dbname "dbname=springboot_course" --format=p --encoding "UTF8"
> --schema-only --no-owner --no-privileges --no-tablespaces
> --no-unlogged-table-data --no-comments --no-publications --no-
> subscriptions
> --no-security-labels --no-toast-compression --no-table-access-method
> --no-policies --no-data --no-statistics
>
>

--
Tomas Vondra

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Gustafsson 2026-12-03 13:03:25 Re: BUG #19702: decode() accepts Base64 payload after terminal padding
Previous Message Sebastian Webber 2026-12-03 12:27:33 Re: BUG #19973: Falha Backup