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

Aperta
#10,783 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
postgresql, python
Ambito
databases

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Python
Stelle
3.9k
Fork
922
Merge medio
2g 3h
PR unite (30g)
33

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pgadmin-org/pgadmin4

Tutte le issue di pgadmin-org/pgadmin4

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.