Bugs: I suggest you Remove Postgres' future versions checking.

Offen
#10,783 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
postgresql, python
Bereich
databases

Rechercherichtung

Start by locating the PostgreSQL version check used when pgAdmin opens an SSH tunnel connection, then compare how it handles PostgreSQL 19 RC1 and RC2. Reproduce the reported connection failure with RC2 and check whether the version check causes it. Done means pgAdmin can connect through the tunnel to RC2 without removing compatibility checks that other versions depend on.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Bug

I am using pgAdmin 4.19 , Postgres 19 RC2 via SSH tunnel. I cannot connect.

I am using pgAdmin 4.19 , Postgres 19 RC1 via SSH tunnel. I can connect.

I am using Navicat via SSH tunnet. I can connect success.

Please remove future Postgres versions checking in pgadmin.

The PostgreSQL server is not bound to 0.0.0.0 as initially believed; it's listening on 127.0.0.1:5432 with established connections. The tunnel is running and listening, which indicates a local access setup. The error points to a version incompatibility within the pgAdmin setup, not the database configuration.

The pgAdmin 4 traceback indicates a version parsing error, specifically failing to convert 'None' to an integer. This occurs because the pgAdmin 4 version likely doesn't support the PostgreSQL version being connected to, which is likely a newer version like 19. The mismatch in version is causing the parse failure within the versioned_template_loader.py file.
Vorherrschende Sprache
Python
Sterne
3.9k
Forks
922
Ø Merge
2 T. 3 Std.
Gemergte PRs (30 T.)
33

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus pgadmin-org/pgadmin4

Alle Issues in pgadmin-org/pgadmin4

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.