Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mlCb5-00089I-3C for pgsql-general@arkaria.postgresql.org; Thu, 11 Nov 2021 16:06:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mlCb4-0001pq-3f for pgsql-general@arkaria.postgresql.org; Thu, 11 Nov 2021 16:06:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mlCb3-0001pZ-PZ for pgsql-general@lists.postgresql.org; Thu, 11 Nov 2021 16:06:41 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mlCb0-0003C9-Qd for pgsql-general@postgresql.org; Thu, 11 Nov 2021 16:06:41 +0000 Received: by mail-wm1-x32b.google.com with SMTP id c71-20020a1c9a4a000000b0032cdcc8cbafso4744973wme.3 for ; Thu, 11 Nov 2021 08:06:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20210112.gappssmtp.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=VWbq/Gw+kBUX8lT32iWIRTF1jR6rCETbubIoozLGNLU=; b=R1LMTYq8Z9bf/RFm1n3ODQ7B5pqOTdHZqI3oDtMPJBntRLuPCiyv0UpT+FGsbvnkY0 BivK/G/Gqx7WSjCkIGj7+b9v+HxlSOJlD34Lv3FHl+XoPpw/dT9p5Ylg3XuerFY2eaWT H5u7UwutdT4K5ISq8u9RyVrAUiGKvtTiKlObnk24qbBJ0q1gCiXorSZvvY2ukeP9xjb1 K57nnI6pCeXAkb3hVqYmTkT6mipS9mtv8KoP16nsnquTSV+0IOPb8VyrByNcZBrhyshE O/4FoWA8iWPfccT9ny/+CKCMCWJmn2Yi5AjA0Fh/gInu9U90amhtMAJNBFUbYHZhO07S gDUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=VWbq/Gw+kBUX8lT32iWIRTF1jR6rCETbubIoozLGNLU=; b=w0Zzk6DrPiHdL3opDlGGDFCjXYa55fa2l7DK/9t+edOzStSxa1pvMWWywWeV/uHcMl M77lSQ6udBr8rBauPvv+wEzMSLGJLx+fL012CwR+7HdfcxPN+nup8lt+Z/4iteQsKOw7 ASgR0jmUBKKNU01ZYF8fInU2gOb+wDwaB1NenvVEruXbzU0a4Ez9SIdFrHQR+tQVJBPE TK+hVGJCHbGqyDK6b1T1apJXNnLAul+DjOihVIgCBDmF6RPRZp8YonKJJLcPc8Ay+p+L kHC9lpa2H8bBf4S2zehi3RJGR3+7LHEkWd7o5ZOFw+XSb45j1tKK2WgHAAn6zofcHtHQ /x7g== X-Gm-Message-State: AOAM530mE/2hQcQzhoY4KdFBeKw8AninW9xnrF1AISAWCUX6TiwlJiij 7xFLE64ClYgzR5fsPOTHxslfnA== X-Google-Smtp-Source: ABdhPJwIWklW+CfdruqUfiqCSmLIZaj/u9n7NwFjgu6qSLHfxLHrsMwxiY1dBZCkKg7dUdd9NIgP3w== X-Received: by 2002:a1c:7515:: with SMTP id o21mr27881830wmc.99.1636646797684; Thu, 11 Nov 2021 08:06:37 -0800 (PST) Received: from localhost.localdomain (dynamic-e1c0z20vi57wuq8r0-pd01.res.v6.highway.a1.net. [2001:871:5c:68d2:a027:6e5c:8e66:bccc]) by smtp.gmail.com with ESMTPSA id g18sm11276647wmq.4.2021.11.11.08.06.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Nov 2021 08:06:37 -0800 (PST) Message-ID: Subject: Re: Why in pgAdmin an active session is marked/highlighted in Red From: Laurenz Albe To: Shaozhong SHI , Pgsql-general Date: Thu, 11 Nov 2021 17:06:36 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.4 (3.40.4-2.fc34) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, 2021-11-11 at 13:24 +0000, Shaozhong SHI wrote: > I never came across this before and wonder why? I think I remember that means that the session is stuck behind a lock, but I am not certain. Look for "wait_event_type" in "pg_stat_statement". Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com