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

Đang mở
#10,783 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
postgresql, python
Lĩnh vực
databases

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Python
Star
3.9k
Fork
922
Merge trung bình
2 ngày 3 giờ
Pull request đã merge (30 ngày)
33

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pgadmin-org/pgadmin4

Tất cả issue của pgadmin-org/pgadmin4

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.