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 1tnmpQ-0021wA-8K for pgsql-docs@arkaria.postgresql.org; Thu, 27 Feb 2025 22:58:05 +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 1tnmpR-007QhZ-Ah for pgsql-docs@arkaria.postgresql.org; Thu, 27 Feb 2025 22:58:03 +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 1tnmpQ-007QhR-FY for pgsql-docs@lists.postgresql.org; Thu, 27 Feb 2025 22:58:03 +0000 Received: from fhigh-a1-smtp.messagingengine.com ([103.168.172.152]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tnmpK-0004Bj-2Q for pgsql-docs@lists.postgresql.org; Thu, 27 Feb 2025 22:58:02 +0000 Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfhigh.phl.internal (Postfix) with ESMTP id C9D021141080; Thu, 27 Feb 2025 17:57:57 -0500 (EST) Received: from phl-imap-09 ([10.202.2.99]) by phl-compute-05.internal (MEProxy); Thu, 27 Feb 2025 17:57:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eulerto.com; h= cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1740697077; x=1740783477; bh=J66uTt+yUo qe6ihvvSge97PoRrd8AknJztEUF1yN3CM=; b=d0C8WZUxdlid/XZuJK/WpeQpHv 55lU9UD1QBQw70NThJQaUpFeZ8pd0OYZz0FPuvvwzSOC0jrVy0PNUQeIZayDIvsL oCwyff8HvwYl+IdUTX0yoqtyg+eSsU04fEfYKqBzSNZZCaGKLanWezCOrGk22VC5 HouiVC+xD8r/M+nPp+0By0tiA8rMzRdeDqnlmKyQCUQZugzZpMhRTRwq1L5p1Ozm O2MJ9QJdNjPlhDmxZblffO008OLns1AiR/pjU4yk6s0VAj7nAJLYoPHT4TIqUUPC mINIwwM04RXgGXv3BddngdEMHEynKu0b/xZdpZVyJj9X5TG3oFFYe40iMRJQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1740697077; x=1740783477; bh=J66uTt+yUoqe6ihvvSge97PoRrd8AknJztE UF1yN3CM=; b=lyJjyMjukOZu2ypsYNMCnoRNcuFDs35blENSuvLlLO3O9FhzB7D gu7RTvOduczYC0oLNDxxUyf8VfH3p6JA0OoyyS1eMka+l5iose5MV+btoOzna0Gh Omedr7zOIeT4vqWkCkhFqjhhZFbzk4mxAc6mayLxMhrK6nXyk7pAkAckUmhf6OR/ gRT12UIRgz4OEgXlJalmvgaOKhf1vQHN/cub9jjJlFqbiF0aNWFqVD4YQXWcN3kU dkRBJr9etnawWNxh6E9oKTPBpb3HQDfra6fNtkgKY3Pw3f4XYoOtsmzV835noAl0 v1tEn/wvSANdqU9bbyQDCT/NiYexPhJctZg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdekkeejgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepofggff fhvffkjghfufgtsehmtderreertddtnecuhfhrohhmpedfgfhulhgvrhcuvfgrvhgvihhr rgdfuceovghulhgvrhesvghulhgvrhhtohdrtghomheqnecuggftrfgrthhtvghrnhepff dtuedtkeffieegiefhlefhleekgfefteegffetieeiieevudeftddtffekkeeknecuffho mhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghdpvghnthgvrhhprhhishgvuggsrdgtoh hmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvghu lhgvrhesvghulhgvrhhtohdrtghomhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmh htphhouhhtpdhrtghpthhtohepihiiuhhmihdrkhhurhgrmhhurhgrsehgmhgrihhlrdgt ohhmpdhrtghpthhtohepphhgshhqlhdqughotghssehlihhsthhsrdhpohhsthhgrhgvsh hqlhdrohhrgh X-ME-Proxy: Feedback-ID: i0c21471d:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 7F1AA78006A; Thu, 27 Feb 2025 17:57:57 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 Date: Thu, 27 Feb 2025 19:57:37 -0300 From: "Euler Taveira" To: izumi.kuramura@gmail.com, pgsql-docs@lists.postgresql.org Message-Id: <73133eb7-d8ef-4b3f-a9da-c03d12252501@app.fastmail.com> In-Reply-To: <174037994589.898582.18052583186032701533@wrigleys.postgresql.org> References: <174037994589.898582.18052583186032701533@wrigleys.postgresql.org> Subject: Re: correction Content-Type: multipart/mixed; boundary=86811d17caa54cd6b35a71be95d3ce66 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --86811d17caa54cd6b35a71be95d3ce66 Content-Type: multipart/alternative; boundary=2e9faafc4cdb4a509411eb75e5225481 --2e9faafc4cdb4a509411eb75e5225481 Content-Type: text/plain Content-Transfer-Encoding: 7bit On Mon, Feb 24, 2025, at 3:52 AM, PG Doc comments form wrote: > hi i found a tiny error below: > https://www.postgresql.org/docs/current/routine-vacuuming.html > >Drop any old replication slots. Use pg_stat_replication to find slots where > age(xmin) or age(catalog_xmin) is large. In many cases, such slots were > created for replication to servers that no longer exist, or that have been > down for a long time. > > not pg_stat_replication but pg_replication_slots > because pg_stat_replication has neither > xmin nor catalog_xmin. > Good catch! This seems an oversight in commit a70bce43fbc that was backpatched down to v14. The attached patch should fix it. -- Euler Taveira EDB https://www.enterprisedb.com/ --2e9faafc4cdb4a509411eb75e5225481 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
On Mon, Feb 24,= 2025, at 3:52 AM, PG Doc comments form wrote:
hi i found a tiny error below:
>Drop any old replication slots. Use pg_stat_rep= lication to find slots where
age(xmin) or age(catalog_xmin= ) is large. In many cases, such slots were
created for rep= lication to servers that no longer exist, or that have been
down for a long time.

not pg_stat_replica= tion but pg_replication_slots 
because pg_stat_replic= ation has neither 
xmin nor catalog_xmin.


Good catch! This seems an = oversight in commit a70bce43fbc that was
backpatched down = to v14. The attached patch should fix it.


=
--
Euler Tave= ira

--2e9faafc4cdb4a509411eb75e5225481-- --86811d17caa54cd6b35a71be95d3ce66 Content-Disposition: attachment; filename="doc-fix.patch" Content-Type: text/x-patch; name="doc-fix.patch" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2RvYy9zcmMvc2dtbC9tYWludGVuYW5jZS5zZ21sIGIvZG9jL3NyYy9z Z21sL21haW50ZW5hbmNlLnNnbWwKaW5kZXggYjViOWRhN2Y4YTkuLjI3ZGU1OTNhN2I4IDEw MDY0NAotLS0gYS9kb2Mvc3JjL3NnbWwvbWFpbnRlbmFuY2Uuc2dtbAorKysgYi9kb2Mvc3Jj L3NnbWwvbWFpbnRlbmFuY2Uuc2dtbApAQCAtNzE0LDggKzcxNCw4IEBAIEhJTlQ6ICBFeGVj dXRlIGEgZGF0YWJhc2Utd2lkZSBWQUNVVU0gaW4gdGhhdCBkYXRhYmFzZS4KICAgICAgPC9s aXN0aXRlbT4KICAgICAgPGxpc3RpdGVtPgogICAgICAgPHNpbXBhcmE+RHJvcCBhbnkgb2xk IHJlcGxpY2F0aW9uIHNsb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