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 1slMmb-0077wE-60 for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Sep 2024 06:12:53 +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 1slMma-007XAH-9J for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Sep 2024 06:12:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1slMma-007XA9-01 for pgsql-hackers@lists.postgresql.org; Tue, 03 Sep 2024 06:12:52 +0000 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1slMmU-000PUa-3g for pgsql-hackers@lists.postgresql.org; Tue, 03 Sep 2024 06:12:51 +0000 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-374c4d4f219so1416786f8f.1 for ; Mon, 02 Sep 2024 23:12:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725343965; x=1725948765; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=tn2s4gFD5wjVoj8NFvZeXhNKYTcKcViJrhkuMac/7Ok=; b=hY/UqLptlHmeZ8RYrtamU3J6roj8Cougm3/hV1wbxEYWnKKWDV5bnUhlrEEe8MjGFw YheftuKAoPqy6lOUng5RFKlhosbKglQxuOvV7sfa6x34cMLWzoCEjB6tRNpdcuSpGSNW ciAPOFmvxq7h37kdZIhG0JF70jh+VMfP4eI15gkhailRb6rovk/Va+Zcf1yhdrxUtEEb b6em3sAgUq8+vH1z4jY4oLJLV2GTpnJoT3L8E3JDj/lq7xdF4zMyIEn7Iiaum7jSIk8P XFjEC5IQnyR2T9pSPJshOr380gmvRvjm7B1M6E0Szu2yOihGtrPvXg/Z7vReUyPY4415 kghQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725343965; x=1725948765; h=content-transfer-encoding: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=tn2s4gFD5wjVoj8NFvZeXhNKYTcKcViJrhkuMac/7Ok=; b=PNzNnP6eC2leq3Oz3wG/EV4p9h8SP3/88Pk5oFOgG96317epj4eD6LcguwJArRWeJE Is6Qeoldpjn9xBQSBHBc4Cqq/7A8zPWuMpxHcY1vEEImrmd4eC1p2vAGWyB4S/aUcVHj lqiHQrWNYq2FlS5GOwttY++dkRrI55fcbQ5zgqcHz3F/Ne9JBpROBdUE04UDpAKKZaw1 NciU0PWM40XXywmio+CPHqL87fxPHskG+bWSdC2OdL787vV1yatfGV5dehs3l+6JBpVD EjKOf5lVOPNH4yoXgRplhoIZGvgbHha02ftlVCWMTClbR6n71pHXdqzE/n3bboUzoDN0 VyTA== X-Forwarded-Encrypted: i=1; AJvYcCXNNKFh0mq0xv7LjkTjKlTOiBHEiUFIAYgVgCbZnORRw8lwgJ3VFbdPXqtYmm3M9vE1Jx9BVn+30MZGi7c+@lists.postgresql.org X-Gm-Message-State: AOJu0Yy9l4G1CmvbNCYmA4RPyMriqvi+kReXTfv5BnofShg/KMMFlu+S Cjnef2uJMu5/IaBBtUrIHmUg11hjDFD9wb1LhEyrBXa9zl1IxjwY86Sf2j72lEIgeJEhDuw0AJI biuGBzSzr0EaSvmaBTUipuJCf/Og= X-Google-Smtp-Source: AGHT+IGYWVQywpxDkhaBzdGXiEwl2Z4HxUqyu0LY8+EBmi7zYHV3sEWn7VesoMrtUsrwK9Pa8qAi6qFhMxEnUFlT1YE= X-Received: by 2002:adf:e84a:0:b0:371:8c61:577c with SMTP id ffacd0b85a97d-374ecc8f32cmr1617405f8f.26.1725343964308; Mon, 02 Sep 2024 23:12:44 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: shveta malik Date: Tue, 3 Sep 2024 11:42:32 +0530 Message-ID: Subject: Re: DOCS - pg_replication_slot . Fix the 'inactive_since' description To: Amit Kapila Cc: Peter Smith , PostgreSQL Hackers , shveta malik Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Sep 3, 2024 at 10:43=E2=80=AFAM Amit Kapila wrote: > > > > > > > To summarize, the current description wrongly describes the field as = a > > > time duration: > > > "The time since the slot has become inactive." > > > > > > I suggest replacing it with: > > > "The slot has been inactive since this time." > > > > > > > +1 for the change. If I had read the document without knowing about > > the patch, I too would have interpreted it as a duration. > > > > The suggested change looks good to me as well. I'll wait for a day or > two before pushing to see if anyone thinks otherwise. Shall we make the change in code-comment as well: typedef struct ReplicationSlot { ... /* The time since the slot has become inactive */ TimestampTz inactive_since; } thanks Shveta