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 1jqeRV-0006TT-3Y for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Jul 2020 15:14:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jqeRT-0004Ys-8D for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Jul 2020 15:14:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jqeRT-0004Yk-1h for pgsql-hackers@lists.postgresql.org; Wed, 01 Jul 2020 15:14:31 +0000 Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jqeRM-0003Qc-LB for pgsql-hackers@lists.postgresql.org; Wed, 01 Jul 2020 15:14:29 +0000 Received: by mail-qk1-x744.google.com with SMTP id l6so22493982qkc.6 for ; Wed, 01 Jul 2020 08:14:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=r4jZ6vapIXC+9kAN9mbQV2X1Ra+vLZYNuAqWfClcuUU=; b=iJTGyPPZK+OFKpKEGnBrEEdWkJKes77+FZWcCSksWNQ0KzznpoHoTjueObzLJzMCv0 uagFdxZtzX2q4I2lrlWPimjkr7qbhFCPP2cnucmYZ+l+qb0ekxtBqkF2S2HdSjWkzqGQ 8KofSDPoez3GLXe/8/1Ywa/C9HmrQZwjGHRzURO9PjrSv3z/2zhqnRlA4p08rX3Tzduh zl3QFJeLrNwb2ZnVlpXBDj7G58j4e4cOxTqaZDDOKWqZVjKjPVzUfMeoHTCElVQxam1U OPvmTBQc18InG6PRsE56tFiKy5g+wR1F9oP2ilyIt+m+CeIzWvfw0hcZ1my5xfil4lgX +jzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=r4jZ6vapIXC+9kAN9mbQV2X1Ra+vLZYNuAqWfClcuUU=; b=PdcSzfS8Mc17RxKS+ZDFp9D02ZqnWPI/d5m26hZm5DypwK5YRB7jG06lf30wkO1el5 mvgzEamvN6FRZ0Fq9bWB8TdEEvZe1R8tcEcFcffvoRm8sPUbv0VFQp0E2aZhGHji5Pia K63FJHHAT+cFAv+cmTAgj0d6nUzSjqKMdO3/ju9B2xVhFmwy+gHKnzT1dWtQinlkIDl8 zmPfOrFDWX1B3zzxhr/6l2IrV9mB/Y739r58NPPIJ5zK7nzyZuoDNJ0ngPKhUOxW0rrg hPZQbs5yhNg5jE/n0A9N2rK4nlqy3HIQoBx4QXV2sv0O+54hZqfBdnq0PJAgBZkRD5Ga 7nCA== X-Gm-Message-State: AOAM5320mUjbTIhoKeq4KzzXTJLrQTo+uGpLRmDCaSPcepNKLFO3qlp4 bgYhAUZBxtEm5sD7EvZJIXwhbw== X-Google-Smtp-Source: ABdhPJxZNwsjH2PdvoYTk6nv+uhkk+PsyErR8JMeEvzkvKxEGM/6yl3sWxIcQa6iXtJb6jUUXpFd6w== X-Received: by 2002:a05:620a:b1a:: with SMTP id t26mr25940984qkg.473.1593616463716; Wed, 01 Jul 2020 08:14:23 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.18.252]) by smtp.gmail.com with ESMTPSA id f4sm5960844qtv.59.2020.07.01.08.14.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2020 08:14:22 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 3FED42A3AAB; Wed, 1 Jul 2020 11:14:21 -0400 (-04) Date: Wed, 1 Jul 2020 11:14:21 -0400 From: Alvaro Herrera To: Amit Kapila Cc: Fujii Masao , Michael Paquier , Kyotaro Horiguchi , pgsql-hackers Subject: Re: min_safe_lsn column in pg_replication_slots view Message-ID: <20200701151421.GA8125@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Jul-01, Amit Kapila wrote: > Okay, but do we think it is better to display this in > pg_replication_slots or some new view like pg_stat_*_slots as being > discussed in [1]? It should not happen that we later decide to move > this or similar stats to that view. It seems that the main motivation for having some counters in another view is the ability to reset them; and resetting this distance value makes no sense, so I think it's better to have it in pg_replication_slots. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services