public inbox for [email protected]  
help / color / mirror / Atom feed
suspected behavior with upgrade scenario : pagadmin 8.8
5+ messages / 3 participants
[nested] [flat]

* suspected behavior with upgrade scenario : pagadmin 8.8
@ 2024-06-06 05:09 Usman Khan <[email protected]>
  2024-06-06 05:29 ` Re: suspected behavior with upgrade scenario : pagadmin 8.8 Anil Sahoo <[email protected]>
  0 siblings, 1 reply; 5+ messages in thread

From: Usman Khan @ 2024-06-06 05:09 UTC (permalink / raw)
  To: [email protected]

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


Attachments:

  [image/png] duplicate_server.png (320.4K, 3-duplicate_server.png)
  download | view image

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: suspected behavior with upgrade scenario : pagadmin 8.8
  2024-06-06 05:09 suspected behavior with upgrade scenario : pagadmin 8.8 Usman Khan <[email protected]>
@ 2024-06-06 05:29 ` Anil Sahoo <[email protected]>
  2024-06-06 05:40   ` Re: suspected behavior with upgrade scenario : pagadmin 8.8 Aditya Toshniwal <[email protected]>
  2024-06-06 05:49   ` Re: suspected behavior with upgrade scenario : pagadmin 8.8 Usman Khan <[email protected]>
  0 siblings, 2 replies; 5+ messages in thread

From: Anil Sahoo @ 2024-06-06 05:29 UTC (permalink / raw)
  To: Usman Khan <[email protected]>; +Cc: [email protected]

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 <[email protected]> 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
>
>
>


^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: suspected behavior with upgrade scenario : pagadmin 8.8
  2024-06-06 05:09 suspected behavior with upgrade scenario : pagadmin 8.8 Usman Khan <[email protected]>
  2024-06-06 05:29 ` Re: suspected behavior with upgrade scenario : pagadmin 8.8 Anil Sahoo <[email protected]>
@ 2024-06-06 05:40   ` Aditya Toshniwal <[email protected]>
  2024-06-06 05:49     ` Re: suspected behavior with upgrade scenario : pagadmin 8.8 Usman Khan <[email protected]>
  1 sibling, 1 reply; 5+ messages in thread

From: Aditya Toshniwal @ 2024-06-06 05:40 UTC (permalink / raw)
  To: Anil Sahoo <[email protected]>; +Cc: Usman Khan <[email protected]>; [email protected]

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 <[email protected]>
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 <[email protected]> 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"


^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: suspected behavior with upgrade scenario : pagadmin 8.8
  2024-06-06 05:09 suspected behavior with upgrade scenario : pagadmin 8.8 Usman Khan <[email protected]>
  2024-06-06 05:29 ` Re: suspected behavior with upgrade scenario : pagadmin 8.8 Anil Sahoo <[email protected]>
  2024-06-06 05:40   ` Re: suspected behavior with upgrade scenario : pagadmin 8.8 Aditya Toshniwal <[email protected]>
@ 2024-06-06 05:49     ` Usman Khan <[email protected]>
  0 siblings, 0 replies; 5+ messages in thread

From: Usman Khan @ 2024-06-06 05:49 UTC (permalink / raw)
  To: Aditya Toshniwal <[email protected]>; +Cc: Anil Sahoo <[email protected]>; [email protected]

+1

On Thu, Jun 6, 2024 at 10:41 AM Aditya Toshniwal <
[email protected]> wrote:

> 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 <[email protected]>
> 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 <[email protected]> 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"
>


^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: suspected behavior with upgrade scenario : pagadmin 8.8
  2024-06-06 05:09 suspected behavior with upgrade scenario : pagadmin 8.8 Usman Khan <[email protected]>
  2024-06-06 05:29 ` Re: suspected behavior with upgrade scenario : pagadmin 8.8 Anil Sahoo <[email protected]>
@ 2024-06-06 05:49   ` Usman Khan <[email protected]>
  1 sibling, 0 replies; 5+ messages in thread

From: Usman Khan @ 2024-06-06 05:49 UTC (permalink / raw)
  To: Anil Sahoo <[email protected]>; +Cc: [email protected]

Hi Anil,
Thanks for replying.
Yes, I understand that it's auto-detected. That is why I did not report it
for a bug. But circulating it through email, I wanted to open a discussion.
Can we somehow avoid it? Otherwise, if there are more than one servers, it
would be annoying for the user to have duplicated servers.

On Thu, Jun 6, 2024 at 10:30 AM Anil Sahoo <[email protected]>
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 <[email protected]> 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
>>
>>
>>


^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2024-06-06 05:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-06-06 05:09 suspected behavior with upgrade scenario : pagadmin 8.8 Usman Khan <[email protected]>
2024-06-06 05:29 ` Anil Sahoo <[email protected]>
2024-06-06 05:40   ` Aditya Toshniwal <[email protected]>
2024-06-06 05:49     ` Usman Khan <[email protected]>
2024-06-06 05:49   ` Usman Khan <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox