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.96) (envelope-from ) id 1w240X-000qZR-2B for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Mar 2026 09:13:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w240W-008ie9-2a for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Mar 2026 09:13:05 +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.96) (envelope-from ) id 1w240W-008ie0-1Z for pgsql-hackers@lists.postgresql.org; Mon, 16 Mar 2026 09:13:05 +0000 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w240U-00000000Ohi-1oqR for pgsql-hackers@lists.postgresql.org; Mon, 16 Mar 2026 09:13:04 +0000 Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-439b9b190easo3009837f8f.2 for ; Mon, 16 Mar 2026 02:13:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1773652382; x=1774257182; darn=lists.postgresql.org; h=message-id:date:content-id:mime-version:comments:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=3H0yjIaOjO3IBAFo86wVE049Ha+N233DOwfItrP7kGc=; b=H6ZvANd7WrZ06Dmts2Rny8JL3AglUExNQvbdIjsFZwxARckiKsPtFMyJA1zXVjFKD7 mBtP0JA/GJwoZ6R0R/JrNmfuOkM3mma6I44PlAHb/geIUlYZHPNTIDwq3Q7xOxYxZg9V zamHL61jLr/9s/JdzuMCsyoqcpQrXL/7EMInj9kJRmW3/+Qq/+KqJ8GOCW2z5mn5KHRx MzQ5ZUGsWhpcOZessrJHO++qSFrnpRX0xrZRFKtjtoIt8O1nLaGk3K5nf2RLDQO4eTbc GPL57VA3Ki9XLNYGtNAc6UTS0xYgBZa2xvEDIgY7yXkWsH1G7+YqFz9q3tnXorZw17Am n8Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773652382; x=1774257182; h=message-id:date:content-id:mime-version:comments:references :in-reply-to:subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=3H0yjIaOjO3IBAFo86wVE049Ha+N233DOwfItrP7kGc=; b=CYgRs5k61DN5yvRdG8cH6nuquRGYur8V7QjZETjoWERIVhZZEX8j7UOqCbzeZ5dKdq SyVgcchlQC76b+oEiUK29TORQrnBvo2Xr+0KlJxyqyvXqocMLxruUDM0tN0DXLgIgw2z NKSiBAreR3rqg5IUh6Cmq15e3Qz3K3fht5Oz1kMa2mGEp2Q6Dp7PAjEY3fSWOWfkATnj cwOdQGspw1A0ocGKZGfJ8XUiyhRrU9ibx/Se4mpFyAMmUV2psvPW3HUdSDMxehP7CIzf 84tKsVezupBB5mONxSceMXIMKvLAxDRtFm/i75S5SkHPSw3Oj6U+HjgHZOEgE/AlES4o m0FQ== X-Forwarded-Encrypted: i=1; AJvYcCWLRvpikIxV3zAOM9sy8qPqjR5XAyI9+0BA11sQIFulZ2D8IuQuDCDJLWj1p/+z5va3BYyOSkwMGyY9kqw/@lists.postgresql.org X-Gm-Message-State: AOJu0YxwNGQRuh20PLnTAQpzfzoe3jCljGnKuLFMzRgddK3JLDETcvj0 rPaItQ6teelItppQqs9fR6U1idu9NVzAKzUL9oANaCSy1H5K2elmREKxSV20m4UwSE8= X-Gm-Gg: ATEYQzyXJqrhykVvcF7MiZABxvXZUZact9occN8SfLdm6qYzRrJt79OvmPVNfqGP/8i RXarlhZwq+W17X+51xJH76YT9Hj+eOvUyIyrlwtlz4EmmAEl7IhovEk8J2lX3a6LygpgkALIRk7 CKxubP29adX0Jjx4ujlPBjpfUt/JfFz+/qyvmbewYDlON28FQUPkY8p10HTkShJZkRpqtOh1e7R 5Tx1JGC6N/7flF0E2KvC+alrQPf3OWzFWbo8YReeatTIE8X5lNGCH7DVlA8DCxm1tfr30Q6+Rgx QQ7Wobjv+T4ojylj7jMMX3gwRHu+AWYLR15yVtXCtLB7aEvMXgc+3j9A2XlTJImzinBBE0Trf1N OmuRPieOU6LVWA1/FUlxC2PLsec4OmvFSTsC5EUetsA/3NbAdeIOqPXcABXJ4RN581GhwUAXOZA eNGGhO7oMRLenYVHgYOReaSQauq1cbhuF7dAfMMCVsA0i1skQ= X-Received: by 2002:a05:6000:26d0:b0:439:b6f1:cd8d with SMTP id ffacd0b85a97d-43a04da7c89mr22582364f8f.28.1773652381626; Mon, 16 Mar 2026 02:13:01 -0700 (PDT) Received: from localhost (109-81-168-142.rct.o2.cz. [109.81.168.142]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-439fe20c473sm42650249f8f.24.2026.03.16.02.13.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 02:13:01 -0700 (PDT) From: Antonin Houska To: Alvaro Herrera Cc: Mihail Nikalayeu , Pg Hackers , Robert Treat Subject: Re: Adding REPACK [concurrently] In-reply-to: <8349.1773389498@localhost> References: <202603121839.7ttist64mas5@alvherre.pgsql> <8349.1773389498@localhost> Comments: In-reply-to Antonin Houska message dated "Fri, 13 Mar 2026 09:11:38 +0100." X-Mailer: MH-E 8.6+git; nmh 1.8; GNU Emacs 28.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22067.1773652380.1@localhost> Date: Mon, 16 Mar 2026 10:13:00 +0100 Message-ID: <22068.1773652380@localhost> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Antonin Houska wrote: > Alvaro Herrera wrote: > > - the name pgoutput_repack sounds wrong to me. I would rather say > > rpck_output, repack_output, repack_plugin, ... or something. I don't > > understand where the suffix "output" comes from in the name > > "pgoutput", but it sounds like arbitrary nonsense to me. > > No strong preference here ... One more problem related to the replication slot is that, due to the call of CheckSlotPermissions() in setup_logical_decoding(), REPLICATION privilege is required for REPACK (CONCURRENTLY) to run. That's not too user-friendly. I think the reason to require the REPLICATION privilege is that, in generic case, the output plugin can access data of any table in the database. However REPACK uses one particular plugin and that plugin only decodes changes of one particular table. Thus I think we don't really need to call CheckSlotPermissions(). Do I seem to miss something? -- Antonin Houska Web: https://www.cybertec-postgresql.com