Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sF600-006ugJ-9Y for pgadmin-hackers@arkaria.postgresql.org; Thu, 06 Jun 2024 05:49:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sF5zz-00FRb5-Ul for pgadmin-hackers@arkaria.postgresql.org; Thu, 06 Jun 2024 05:49:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sF5zz-00FRax-MB for pgadmin-hackers@lists.postgresql.org; Thu, 06 Jun 2024 05:49:19 +0000 Received: from mail-qv1-xf2a.google.com ([2607:f8b0:4864:20::f2a]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sF5zw-000EzQ-PX for pgadmin-hackers@lists.postgresql.org; Thu, 06 Jun 2024 05:49:19 +0000 Received: by mail-qv1-xf2a.google.com with SMTP id 6a1803df08f44-6ae0dca5929so3262246d6.0 for ; Wed, 05 Jun 2024 22:49:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717652955; x=1718257755; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Muxk2v13JfW7kEM98P3KuRZk1tNojz6JlB5LAnBw6BQ=; b=mGnGfGQfWV8jbkv56HAv6MsKaYw8ydTrKlzsNU8/jT819WZe+K/wRb5fSlRkpCoE7s vZoVPGF/M/RDo+lJLECuT6kFzuC+Dja9zv2QD2ilIv26WuUnBLzEqqvanb2kBmHNrXCJ q0NkWdFyP98qCoArDHtm7CHXymysHsfjJalMDNJjA0RdwIAVFHExb+f2dEr9UAeNs6lD RXkjzezpz9gKmRp6/FqK157//XkiUA6dnSNS/wU1DT2fIhXMj70Q0UsrBqyd8RcG20vy Fxeo9zH1vQDhzfClYhfDL7U9qviUVEAdmSfQkclT8UbEoQqwwW476puMnmfLRGMMh21x 3RfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717652955; x=1718257755; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Muxk2v13JfW7kEM98P3KuRZk1tNojz6JlB5LAnBw6BQ=; b=pZMe9JzB4++TeQSq3T8sCROqXCFLAHxf8OafWLD9bSq9dljbHdxqhkAn9EcVpjWdVu 1VO2oCfPJDUK2eBEe3/7RO/z94lwy6dxtJbkxneAeO68JN4zNGM9PIWimHTPgY5Pzbro yUWHkOTsTW9X4/JdDDMqWeBQuEY/Pph8z6n29GzZfur0ISgffyQBO1qBUteG3uT9BXxL 8pz0dGkDCEIq+L4hGC8RaJU9W/t28ov62aIdeKghwAu7keidZlmy2wYnSFEYVmaiMzjp w/scRY1UZvTKuQfm9V5ZTUix83Qlgp15hEhFsaRtCM35MtV+mAfPxfLy/yKQS0RHQpA+ eX6g== X-Gm-Message-State: AOJu0YzJDE7xgfKoeVpKCZM6A0nJaeLY2ZvSsxwGSQAek3Z+4byKPSbd 2ACiuqgyIHdfiEdo4DS6tUg4STTc+EpX37wGoX4BBlkxkbC12WSv4rZVTC/NT3rHSI9sAT+UKV1 OXblPl1y2v1MVlYlc+BQ3QGJYCXo= X-Google-Smtp-Source: AGHT+IERH403RpF99YOvEZvEKeTi5QCd8+2NCtggb3rXtfs3SQMTT7adE9dL1y1xEqfD8PS3pHZ779mWDGfHgPc8WEo= X-Received: by 2002:a05:6214:3f89:b0:6ae:3202:239b with SMTP id 6a1803df08f44-6b02bf97cb2mr56438176d6.37.1717652954747; Wed, 05 Jun 2024 22:49:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Usman Khan Date: Thu, 6 Jun 2024 10:49:03 +0500 Message-ID: Subject: Re: suspected behavior with upgrade scenario : pagadmin 8.8 To: Anil Sahoo Cc: pgadmin-hackers@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000371abd061a323ecb" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000371abd061a323ecb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=E2=80=AFAM Anil Sahoo wrote: > Hi Usman, > Once you install PostgreSQL 16 in your system and on opening pgAdmin 4, i= t > auto-detects the postgres servers installed in your system. > > So that duplicate server you are saying is auto detected and the other on= e > 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 data directory of PGv16>`. And the server you added manually does not sho= w > 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=E2=80=AFAM Usman Khan wro= te: > >> 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 wen= t >> fine. >> 3) When I collapsed the server group, it showed another server added wit= h >> the name 'Postgresql 16' and it is an exact duplicate of the server alre= ady >> 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 >> >> >> --000000000000371abd061a323ecb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Anil,
Thanks for replying.
Yes, I underst= and 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 so= mehow=C2=A0avoid it?=C2=A0Otherwise, if there are more than one servers, it= would be annoying for the user to have duplicated servers.

=
On Thu, Ju= n 6, 2024 at 10:30=E2=80=AFAM Anil Sahoo <anil.sahoo@enterprisedb.com> wrot= e:
Hi Usman,
Once you install PostgreSQL 16 in your system and on openi= ng pgAdmin 4, it auto-detects the postgres servers installed in your system= .=C2=A0

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

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

If you still have any doubts please l= et me know.

Regards
Anil
=

<= /span>

Anil Sahoo

Software Engineer

www.enterprisedb.com

Power to Postgr= es

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0



On Thu, Jun 6, 2= 024 at 10:40=E2=80=AFAM Usman Khan <umk555@gmail.com> wrote:
Hi Hackers,

I am verifying build on windows 11 and during upgrade I faced the followin= g=C2=A0
1) I installed pgadmin 8.7 and added postgresql16 to it.= =C2=A0
2) I downloaded pgadmin 8.8 and performed an upgrade on 8.= 7. Upgrade went fine.
3) When I collapsed the server group, it sh= owed another server added with the name 'Postgresql 16' and it is a= n exact duplicate of the server already added to pgadmin.
In my o= pinion, this behaviour should be investigated and corrected. The detail of = the platform is as=C2=A0follows
platform: windows 11 Home
packages: pgadmin 8.7 and 8.8
The snapshot is attached for mor= e information.

Regards,
Usman Muzaffar


--000000000000371abd061a323ecb--