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 1jsT44-0002ih-7B for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Jul 2020 15:29:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jsT43-0004rF-48 for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Jul 2020 15:29:51 +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 1jsT42-0004r8-TJ for pgsql-hackers@lists.postgresql.org; Mon, 06 Jul 2020 15:29:50 +0000 Received: from mail-qk1-x742.google.com ([2607:f8b0:4864:20::742]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jsT3w-0007Uv-PA for pgsql-hackers@lists.postgresql.org; Mon, 06 Jul 2020 15:29:49 +0000 Received: by mail-qk1-x742.google.com with SMTP id q198so35137621qka.2 for ; Mon, 06 Jul 2020 08:29:44 -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=5KvfTyhZOglGHUWdro5OOEBGiZjiUgphS0cQR+1ybMI=; b=BD+Db2A/FnbtH9CnBila0QtSLY9rFbDs5qh/wqIo/Q51+wKP0ctiFsBeS7DD9onWik Z4T9iv2ufCLwvU29trvUAjk4tppe6Kx8x4J1XgqAiUH2tFQfNf44kw022zhLLiY9Vpwr v9322sf6LVl6SjIYenEj+Set7uKY4bE3Obbv37ikOeW4o1L4DohTPswjhvr6BedNqfBS mT6HMLCuE68YFlAQZ/1eUb91pmLG45iM7Pwl5HcD3Qt8FGeXSjFApfQ8s1ZIsTegz7ov BFOaG3ae8Yel1eWGIqqIBU9DUWqvFkeQVAFIuNwCPvaswS4n8xriuMOav7LXeYMl54ZA I5Zg== 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=5KvfTyhZOglGHUWdro5OOEBGiZjiUgphS0cQR+1ybMI=; b=IGKbJPEEtIQSlMRywZZ2DqtAfVa/3CHC0GDmbcJqauXu2kjYNA0RuPGGEumGU0iir4 2+znnMIB2CNJTxvzhgeyqw4Q65bmadhT0WuHZCE2fe81qaObcP2uZiNYdYNnl0Hqd+tk UHNtATC9LLK6HdvpSZw2Cj5MdQNDad9FDx7unq9aT6hJHkZ5Y/kdWDNpwSMHxh4Lca5w BtMKiteVXzyTy16iabXDF+DLasyF00jsMimn2lQ72rkNbP6P8M2ddO+Gt5NHoz96PK6D QiTrJfs1Sz8y6kQZZXNwGn6Zn++1A/kYPscx4Ajf5k72lbb1VbgvdTfSLt6taVM8k2M3 CvmQ== X-Gm-Message-State: AOAM532l/XdqAdxAuyVvyr3HaBhshL7LMzrm1exeCG/no+55UFgs5nZB KS+0pZ9yQZID/TWqf2bwH6GCWA== X-Google-Smtp-Source: ABdhPJwZIFH9H/Td7IIpV1MDnAOmv8UIx05jsQbl6RALFb7UcmEuPT1ZaMhbMSvuRpL0mJS/eSni2w== X-Received: by 2002:a37:8947:: with SMTP id l68mr33325885qkd.278.1594049384092; Mon, 06 Jul 2020 08:29:44 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.18.252]) by smtp.gmail.com with ESMTPSA id j52sm23502671qtc.49.2020.07.06.08.29.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2020 08:29:43 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 0F72F2A3A79; Mon, 6 Jul 2020 11:29:42 -0400 (-04) Date: Mon, 6 Jul 2020 11:29:42 -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: <20200706152942.GA8127@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-04, Amit Kapila wrote: > Fair enough. It would be good if we can come up with something better > than 'distance' for this column. Some ideas safe_wal_limit, > safe_wal_size? Hmm, I like safe_wal_size. I've been looking at this intermittently since late last week and I intend to get it done in the next couple of days. Thanks! -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services