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 1uyNoc-007HPf-9V for pgadmin-support@arkaria.postgresql.org; Tue, 16 Sep 2025 05:01:18 +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 1uyNoa-00FRqq-4q for pgadmin-support@arkaria.postgresql.org; Tue, 16 Sep 2025 05:01:16 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uyNoZ-00FRqh-SN for pgadmin-support@lists.postgresql.org; Tue, 16 Sep 2025 05:01:16 +0000 Received: from mail-yw1-x112c.google.com ([2607:f8b0:4864:20::112c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uyNoU-000fFZ-0W for pgadmin-support@lists.postgresql.org; Tue, 16 Sep 2025 05:01:14 +0000 Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-71d603b60cbso45016917b3.1 for ; Mon, 15 Sep 2025 22:01:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1757998869; x=1758603669; 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=bnQtgfLUUbccVzpJx/VOTt7Bp1ZMmjuvHPgELgX5Oes=; b=Os9BidP78LEVSbqtuR5sgp7iZJd2KKTcsb2yOlra6Cv35Xvd15XsK3wz66k17ldyf4 jnjpHg5a82iLNk05juRC66C6oUBzMvtfzn7LlY4SIt7e5lG1sZL5mhnRHUhAoua4pG7X vOO4w59sI6wG3HyXvCdtxMqmrgVVI/pHtsZtEd3tH5QIDLNUJHzsYAkSCulDEc1VjATc W8J4yiu47g5sDMDUGoQuiyHCNzhgNWBPojSxjzxIYvVEhPKOMJmAIweZzVNa01GQCAZs x+VZDSKvcnzX6MbTmoQ0z1YkJnC7sk5v2mVAm90P6tNNojfui+M3vMAYapjeapnFLVOA t9EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757998869; x=1758603669; 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=bnQtgfLUUbccVzpJx/VOTt7Bp1ZMmjuvHPgELgX5Oes=; b=lv/zu+nHcQnkJT8vSbkCS2BGZYDnZTpgPlFX5oju1Vydn7qa3l/nF57xw+TIfS7bjD jfClL6aZ4wustj7GCtAmkXGmW9puZiphfgD6poOghaBfpbDXhFJkD6kUQqk2qByjQjCc zY2xm3o/88tn+zw3sPRiSSbO6lYkXHW1sa93tLGEW9FGSZKu5DOAu9UiqCjXl8ufs6Xm NKee5uLD7WlN+gFucRl4WiUJ/coKHH8DtRghiJwYxXnZxt3g1gG/B3CxzjIGiVfFIJWz P1WMBwE8Lr3DsQy1FkXxd80vUFzi8hRWlXZCC6ZexMcJpYsful4Vgp06+N+vGxT5r6dO flsw== X-Gm-Message-State: AOJu0YxjwJ56DcyTSG6QEbSW8Sdg1x81bTD34yAPQl9/5WIslSCka463 zS9wboFqlnUco1Fx49xXIedIcDkxRUR1OUHlgP2lbJtlvEub3w3+J5zrvgcXnIa+Nk5m67kNQw/ 6ZmB8KQO6Q/pTZnNqZvodu/IlCgiol9yoOBQoRFf2 X-Gm-Gg: ASbGncsGJ8uisLvxiaNhJCCOrHz++AQKnRBimpixF/PbqwNz9Sxuv4QLdqiDXQ9JoYl T2dKUA5hvja2g/kB+7WFd3h11mSbsoGNw0AvSzU++7tWk0Mb27dc8CNP3/gfQGLGKPyY7Ndbz4U HVfh/6ESYRg5Wrq+4JoMn3a2VEyOSJrNvC9XBpOPb5HVs5vSDbZqOfN51CDblC9Yp+jMsk3c/4V 0f5IObl X-Google-Smtp-Source: AGHT+IG2mgrbgbxU87qsxRO4yui2PA6tS/TywGox1sMJk3VEq6Zu7/mItAa68ujacnWOVop1IT7Z96yxWruohM/9jkI= X-Received: by 2002:a05:690c:4912:b0:725:39d:a31a with SMTP id 00721157ae682-730652dd1dfmr156974217b3.27.1757998869401; Mon, 15 Sep 2025 22:01:09 -0700 (PDT) MIME-Version: 1.0 References: <939cad09-12b2-4578-8fac-06385c7c3d85@gmail.com> In-Reply-To: <939cad09-12b2-4578-8fac-06385c7c3d85@gmail.com> From: Khushboo Vashi Date: Tue, 16 Sep 2025 10:30:58 +0530 X-Gm-Features: Ac12FXwa744eADHYqmfv5zWefrpw1sNfILv9vwofG1nW4IiXxYDBNen4TVM8vrI Message-ID: Subject: Re: executing sql in tabs when open pgadmin To: Jan Birk - gmail Cc: pgadmin-support@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000206749063ee4020e" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000206749063ee4020e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, pgAdmin saves the old state. To disable this behaviour, disable the user preference "Save the application state?" ( Preferences > Miscellaneous> User Interfaces> Save the application state?). Reference: https://www.pgadmin.org/docs/pgadmin4/9.8/preferences.html#the-miscellaneou= s-node Thanks, Khushboo On Tue, Sep 16, 2025 at 9:53=E2=80=AFAM Jan Birk - gmail wrote: > Hi > > if pgadmin closes suddenly, e.g. if the user closes the browser, then - > when pgadmin opens again - pgadmin seems to execute "old" statements in > tabs there was open at the time. > > Is this a way to control this behavior (turn it off) ? > > Best > > Jan > > -- > Jan Birk > H=C3=B8edvej 52 > 4450 Jyderup > Denmark > +45 31 54 64 10 > > --000000000000206749063ee4020e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

pgAdmin saves the old state. To disable this be= haviour, disable the user preference "Save the application state?"= ; ( Preferences > Miscellaneous> User Interfaces> Save the applica= tion state?).
Reference:=C2=A0https://www.pgadmin.org= /docs/pgadmin4/9.8/preferences.html#the-miscellaneous-node

Thank= s,
Khushboo

On Tue, Sep 16, 2025 at 9:53=E2= =80=AFAM Jan Birk - gmail <jan.g= .birk@gmail.com> wrote:
=20 =20 =20

Hi

if pgadmin closes suddenly, e.g. if the user closes the browser, then - when pgadmin opens again -=C2=A0 pgadmin seems to execute "old" statements in tabs the= re was open at the time.

Is this a way to control this behavior= (turn it off) ?

Best

Jan

--=20
Jan Birk
H=C3=B8edvej 52
4450 Jyderup
Denmark
+45 31 54 64 10
--000000000000206749063ee4020e--