Re: suspected behavior with upgrade scenario : pagadmin 8.8

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: Anil Sahoo <anil(dot)sahoo(at)enterprisedb(dot)com>
Cc: Usman Khan <umk555(at)gmail(dot)com>, pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: suspected behavior with upgrade scenario : pagadmin 8.8
Date: 2024-06-06 05:40:25
Message-ID: CAM9w-_mGYYwdVYyWhMSxu_sAsqYzyQPcHo_cehyYrbZ+s1C=kw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)sahoo(at)enterprisedb(dot)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
>
> <http://www.enterprisedb.com>
>
> *Anil Sahoo*
>
> Software Engineer
>
> www.enterprisedb.com
>
> Power to Postgres
>
> <https://www.linkedin.com/company/edbpostgres>
> <https://twitter.com/edbpostgres?lang=en>
> <https://www.facebook.com/EDBpostgres>
> <https://www.instagram.com/EDBpostgres/>
>
>
> On Thu, Jun 6, 2024 at 10:40 AM Usman Khan <umk555(at)gmail(dot)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*
<https://www.enterprisedb.com/>
"Don't Complain about Heat, Plant a TREE"

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2024-06-06 05:42:19 Re: pgAdmin4 v8.8 candidate builds
Previous Message Anil Sahoo 2024-06-06 05:29:57 Re: suspected behavior with upgrade scenario : pagadmin 8.8