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 1jmSWg-0004Xf-AU for pgsql-hackers@arkaria.postgresql.org; Sat, 20 Jun 2020 01:42:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jmSWe-00086T-0n for pgsql-hackers@arkaria.postgresql.org; Sat, 20 Jun 2020 01:42:32 +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 1jmSWd-00086M-Q2 for pgsql-hackers@lists.postgresql.org; Sat, 20 Jun 2020 01:42:31 +0000 Received: from mail-qv1-xf44.google.com ([2607:f8b0:4864:20::f44]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jmSWb-00037M-2g for pgsql-hackers@postgresql.org; Sat, 20 Jun 2020 01:42:31 +0000 Received: by mail-qv1-xf44.google.com with SMTP id g7so5393212qvx.11 for ; Fri, 19 Jun 2020 18:42:28 -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=Fn9QwRTgmAe6jV6eqTfHPA9oE278aG8/GR6jFnveGt4=; b=FDN5G27mz2J0zZeMXZG17spYqlNtwkJtpJ6WD5czf5ult5mOUOHdrVsAEZFeopWO4k WKYgUmJDLhwYmEQ2DUQNl0O2f+Vufcq5h/YbbCbRDtW4Q/FI7ODA+P9U0kC/UQR6KoZ/ j7J6y+3GQgNYdgkb1RQKs4D/V1ayTuXGL3Ty8Wy8QM12O2b6PqBIlSFtxoiVCbXpq2gs /sjlwcaKrlJDOcv9LIUztpelwFJehOb7FlGCDjnwcxRy4ODq/gvL/S5EolayhOYASOy3 AwhaAYiAXxuUErBERJIkAFEU0HToCd7oZY7AnPgXkzK57W7xY093X75oyqy6yX2drUsC h5RA== 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=Fn9QwRTgmAe6jV6eqTfHPA9oE278aG8/GR6jFnveGt4=; b=ZSr1MJsttOtSarWxt0qKi17xhpB0Tje2sjRS1ry2u1Ppvs9/RucJKO24x7amewr4CW BRfKActXMk5CycgYi69zr/KjvKCjr0JGTCjbmwAEQvuCO8/i13eC5eHNnx9+Hp+87td1 O44aqs7bmP7ovu3iPWVWASaC/DbEzkYB0KIOlV7y4v9kUY7gEjujGU6UKoG3HeFBKkS+ NivTeig4p3pVRLQDanHpxEN1OW8AJ46V9J82wlTzWuURciDJ7mi/jnKqOSWmv9N22UF/ 0BH6ZT1lT4PwK4y3SwC4SlzeaIEkM5lbe7MOEqjzd/9cA7o0TG1BlNK3iqSUWJ5pTnEy Sj0g== X-Gm-Message-State: AOAM530QNvdf6fB/gMyR+WdDlte6uIO/GdgBYz/C9iJLjyNEgs5hrYyY y6YFYfbicXTj9ULb8mKMWvmt5A== X-Google-Smtp-Source: ABdhPJzMuhPDzl2mR6N0f9qhsvir0/iIQWXIGqM1NolHPN6yxRrOtjO/ybHTPs6bLbgXDeqf5G+Ieg== X-Received: by 2002:ad4:5511:: with SMTP id az17mr11678730qvb.146.1592617346686; Fri, 19 Jun 2020 18:42:26 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.18.252]) by smtp.gmail.com with ESMTPSA id 60sm7555979qth.78.2020.06.19.18.42.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2020 18:42:26 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id E99082A0FAA; Fri, 19 Jun 2020 21:42:23 -0400 (-04) Date: Fri, 19 Jun 2020 21:42:23 -0400 From: Alvaro Herrera To: Michael Paquier Cc: Fujii Masao , Kyotaro Horiguchi , amit.kapila16@gmail.com, pgsql-hackers@postgresql.org Subject: Re: min_safe_lsn column in pg_replication_slots view Message-ID: <20200620014223.GA7119@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200619121552.GH453547@paquier.xyz> 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-Jun-19, Michael Paquier wrote: > If we want to make this happen, I am afraid that the time is short as > beta2 is planned for next week. As the version will be likely tagged > by Monday US time, it would be good to get this addressed within 48 > hours to give some room to the buildfarm to react. Attached is a > straight-forward proposal of patch. Any thoughts? I don't disagree with removing the LSN column, but at the same time we need to provide *some* way for users to monitor this, so let's add a function to extract the value they need for that. It seems simple enough. I cannot implement it myself now, though. I've reached the end of my week and I'm not sure I'll be able to work on it during the weekend. I agree with Kyotaro's opinion that the pg_walfile_name() function seems too single-minded ... -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services