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 1kFnZb-00069t-00 for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Sep 2020 00:02:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kFnZZ-0004qP-LH for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Sep 2020 00:02:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFnZZ-0004qI-ET for pgsql-hackers@lists.postgresql.org; Wed, 09 Sep 2020 00:02:49 +0000 Received: from mail-qk1-x743.google.com ([2607:f8b0:4864:20::743]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kFnZS-0005YC-Kb for pgsql-hackers@lists.postgresql.org; Wed, 09 Sep 2020 00:02:49 +0000 Received: by mail-qk1-x743.google.com with SMTP id w12so895373qki.6 for ; Tue, 08 Sep 2020 17:02:42 -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=vmsNQdKZ4E5Y+t6RH5g4sI7gaYun+g5RW1efmQf/CnU=; b=IRVwxk8zet4Q9C3wxwCzXH+HLSx8IqnsGu6vDzTyeLMjvivz1roRGdYCTziKpb/n0t f1Q59hBiUlLbdcv8M88EASTc+ExvhauThXtkbxuEB2YmYX43w03opacdw8HRdo1rs2cj 2+mF54OgwuLj1/ki8OxvrPJXmWi06RRyOQGebgu8jdfySqyhtIyGiCDzKrhNUnThULTq 4Q2MhmFcHe8Dg9+QYsrMy+mpcVRznT0ELOleo9EQj+GSOHTyPA2WcX7QKOM5aIxiOSer g/Qea/pesAL45kh2vAMGVCT0nIn5hS3Hw2j8lQprBAQYYMXtcjWEZaRg/ATcJY61TTjG HPtA== 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=vmsNQdKZ4E5Y+t6RH5g4sI7gaYun+g5RW1efmQf/CnU=; b=ie1gSjw5lrDeTftNqm0G4Nt4QkvFkZ1tcbGd0DH43swfndbU1BdC7w7kJI4E07HGgc aAYzCbX8c8WKAwCsoetbJTon1YEW4Dc9lFE8GnA/cG+eZl7uQPcfH7UIPvM4Qs4qUOPz J31J9fF3UsE184G91O5I+pNchOPB1kqZhixSxF6SWzRaQ5Pj6EhCyM3tg870PhoeIJD0 HGCdgpWMW2/+uKlm/UzrCB3O01Y+xt8V82SFZiz/fSv4tNCtt8Mdfa5738Fu+Ay9NxnG fnfLxWzqfDOJ5DmbP2QGBcMocsztxRqF73/5pC4x9RQlWIfbKFmezsTDiH4lOGiiNym6 namA== X-Gm-Message-State: AOAM531gPfJysBAnpQCRDd4RuZ9WwpDHQpAwzdSaMdiLUjGPOyVdcOC2 9TsP2va61aBRvkpgpmtEE/2afA== X-Google-Smtp-Source: ABdhPJxDfUF/L9l1nAA02eczCj4/X6E7ssg1GxhsUYGZnyk5/a8XmviEaSWprIYns6NppczNyKyi2g== X-Received: by 2002:a37:e504:: with SMTP id e4mr1002009qkg.290.1599609761064; Tue, 08 Sep 2020 17:02:41 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.19.47]) by smtp.gmail.com with ESMTPSA id p29sm1104068qtu.68.2020.09.08.17.02.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 17:02:40 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id AF1DA2A100E; Tue, 8 Sep 2020 21:02:38 -0300 (-03) Date: Tue, 8 Sep 2020 21:02:38 -0300 From: Alvaro Herrera To: Justin Pryzby Cc: Alexey Kondratov , Michael Paquier , Masahiko Sawada , Steve Singer , pgsql-hackers@lists.postgresql.org, Robert Haas , Alexander Korotkov , Masahiko Sawada , Jose Luis Tallon Subject: Re: Allow CLUSTER, VACUUM FULL and REINDEX to change tablespace on the fly Message-ID: <20200909000238.GA1563@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200908233951.GC18552@telsasoft.com> 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-Sep-08, Justin Pryzby wrote: > From 992e0121925c74d5c5a4e5b132cddb3d6b31da86 Mon Sep 17 00:00:00 2001 > From: Justin Pryzby > Date: Fri, 27 Mar 2020 17:50:46 -0500 > Subject: [PATCH v27 1/5] Change REINDEX/CLUSTER to accept an option list.. > > ..like EXPLAIN (..), VACUUM (..), and ANALYZE (..). > > Change docs in the style of VACUUM. See also: 52dcfda48778d16683c64ca4372299a099a15b96 I don't understand why you change all options to DefElem instead of keeping the bitmask for those options that can use it. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services