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 1tl2q6-008rDQ-OU for pgsql-general@arkaria.postgresql.org; Thu, 20 Feb 2025 09:27:26 +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 1tl2q5-003eNI-6b for pgsql-general@arkaria.postgresql.org; Thu, 20 Feb 2025 09:27:25 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tl2q4-003eMv-RX for pgsql-general@lists.postgresql.org; Thu, 20 Feb 2025 09:27:25 +0000 Received: from relay2-d.mail.gandi.net ([2001:4b98:dc4:8::222]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tl2q2-001sFT-2Z for pgsql-general@lists.postgresql.org; Thu, 20 Feb 2025 09:27:23 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id F3DDA43159; Thu, 20 Feb 2025 09:27:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vondra.me; s=gm1; t=1740043639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xYzSTn65nOpnzaPkbZzeyDeB6gV/kwnFqUh/tUQarv0=; b=TjaU+ZzXYNfOawmKNTAphy+AjpRNGlCSGSQQzAjIecY93NpYAhZyTgJl4stWd55yT+91Pn fgKW+Sf7thXLmc8oQxBZdVY/12FUUXePElrp3JNKf+CDjTpkyrCXajJr3kAPnYy6LMj18t Y2KIEfRnqGqVczvpXhIlmO8Eebuy8sWKUJW6MFsyy5gtxUhVngAb/3AvV5cUbwlLPV7Buh WNSl1z2scPlndnXC7f3gFi/JcrficfckCmQ1L93SjjCOt5Dq7wNZ52UvQjJnJh7xFX60ea hRvAedI07LkRYSisQVkeMvglYcHHCRuqzzPBvA5RKQ5WrqvrBcb0Nyf4H+6z9A== Message-ID: <1c759cc7-0db5-4249-9b65-43d824a79903@vondra.me> Date: Thu, 20 Feb 2025 10:27:17 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Logical decoding To: Jethish Jethish , pgsql-general@lists.postgresql.org References: Content-Language: en-US From: Tomas Vondra In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeiieektdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvfhfhjggtgfesthejredttddvjeenucfhrhhomhepvfhomhgrshcugghonhgurhgruceothhomhgrshesvhhonhgurhgrrdhmvgeqnecuggftrfgrthhtvghrnhepudetkeeuleffgeeuffevieegkedvleeugfevgfffuefgkeehueefieethfelhfeknecukfhppeekiedrgeelrddvfeeirdduleefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepkeeirdegledrvdefiedrudelfedphhgvlhhopegluddtrddufeejrddtrddvngdpmhgrihhlfhhrohhmpehtohhmrghssehvohhnughrrgdrmhgvpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjhgvthhhihhshhejjeejsehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqghgvnhgvrhgrlheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-GND-Sasl: tomas@vondra.me List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2/20/25 06:04, Jethish Jethish wrote: > Hi everyone, > > Is there is any option to perform logical decoding on an active > replication slot. > I'm trying to decode a replication slot but it throughs an error as below. > > ERROR: replication slot "my_sub" is active for PID 2525720 No, not really. The whole point of this error is to prevent exactly this, pretty much - to only allow a single process doing logical decoding on a slot. What are you trying to solve / achieve? Why do you need (or think you need) logical decoding on an active slot? regards -- Tomas Vondra