Re: suspected behavior with upgrade scenario : pagadmin 8.8 - Mailing list pgadmin-hackers

From Aditya Toshniwal
Subject Re: suspected behavior with upgrade scenario : pagadmin 8.8
Date
Msg-id CAM9w-_mGYYwdVYyWhMSxu_sAsqYzyQPcHo_cehyYrbZ+s1C=kw@mail.gmail.com
Whole thread Raw
In response to Re: suspected behavior with upgrade scenario : pagadmin 8.8  (Anil Sahoo <anil.sahoo@enterprisedb.com>)
Responses Re: suspected behavior with upgrade scenario : pagadmin 8.8  (Usman Khan <umk555@gmail.com>)
List pgadmin-hackers
Hi,

We could think of avoiding duplicates if a server is already added on the basis of server properties. 

On Thu, Jun 6, 2024 at 11:00 AM Anil Sahoo <anil.sahoo@enterprisedb.com> wrote:
Hi Usman,
Once you install PostgreSQL 16 in your system and on opening pgAdmin 4, it auto-detects the postgres servers installed in your system. 

So that duplicate server you are saying is auto detected and the other one you added manually. 

To confirm this you can check by going through the steps, Select PostgreSQL 16>Properties tab>Comments Field, It must be showing `Auto-detected PostgreSQL 16 installation with the data directory at <your data directory of PGv16>`. And the server you added manually does not show any such comments of auto-detection.

If you still have any doubts please let me know.

Regards
Anil

Anil Sahoo

Software Engineer

www.enterprisedb.com

Power to Postgres

             



On Thu, Jun 6, 2024 at 10:40 AM Usman Khan <umk555@gmail.com> wrote:
Hi Hackers,

I am verifying build on windows 11 and during upgrade I faced the following 
1) I installed pgadmin 8.7 and added postgresql16 to it. 
2) I downloaded pgadmin 8.8 and performed an upgrade on 8.7. Upgrade went fine.
3) When I collapsed the server group, it showed another server added with the name 'Postgresql 16' and it is an exact duplicate of the server already added to pgadmin.
In my opinion, this behaviour should be investigated and corrected. The detail of the platform is as follows
platform: windows 11 Home
packages: pgadmin 8.7 and 8.8
The snapshot is attached for more information.

Regards,
Usman Muzaffar




--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Architect | enterprisedb.com
"Don't Complain about Heat, Plant a TREE"

pgadmin-hackers by date:

Previous
From: Anil Sahoo
Date:
Subject: Re: suspected behavior with upgrade scenario : pagadmin 8.8
Next
From: Akshay Joshi
Date:
Subject: Re: pgAdmin4 v8.8 candidate builds