Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ioIZG-00029M-QL for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Jan 2020 02:56:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ioIZF-0005oz-JT for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Jan 2020 02:56:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ioIZF-0005ok-1V for pgsql-hackers@lists.postgresql.org; Mon, 06 Jan 2020 02:56:33 +0000 Received: from mail-yb1-xb43.google.com ([2607:f8b0:4864:20::b43]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ioIZA-00015Z-Ip for pgsql-hackers@lists.postgresql.org; Mon, 06 Jan 2020 02:56:31 +0000 Received: by mail-yb1-xb43.google.com with SMTP id w126so19617272yba.3 for ; Sun, 05 Jan 2020 18:56:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=qYummi3152agKWbF3EL2Wi9zt36nzhUktScwOEnEoXM=; b=T18gGa3CEQs7oIoXon87nvOA0vuGFZtLTfABaqXiFbEY140JTBdJKFwxdHewHdE0eC eBzzh+eNQyjfY0tOsl8Z7CnLRma2cgxrz5kAH5hq7Q4f/ehiLFy90VIHr/VsgSpc0OpJ x0K2JAu4orkNbWHq6TE/7w/5DJ5lM77mbzZhMpF72YW4ZCOLUL0+Ezie6DYloIPXiJR2 jNJtlxHs+3jRMWd9ywKOmQ2pZkKUEerJrry5zui5ibCaT8COv4eNwF2SqZt1MVhkxz8s TS0LuU6qztUTtM75NasbRpGwh50ccWDF9XK9fZaNgfmn6ms0zy4UCgVosiG24IZK/FgB UsXg== 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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=qYummi3152agKWbF3EL2Wi9zt36nzhUktScwOEnEoXM=; b=YPlfDq7xcO2KvUgxS5Acqnnoi1/l4gv5Ydfx2MCL/ttO6olfUiRxl1995ffPIQfNfS jjHdRV4X0rIyq8tUK+yaSGpic00S4UzTg/hbcv9eq+pl9AQSbBBHLmzzb3Iy8HSgRxuj LqjDb1lWl6b+Q8TsUK/r+71eAyOZ0KBr86xcy1X9PgOqhCHT0ac7yrQIgzBVGfMGXCm8 7p+V9lMeP8h5Ro20PwIUiu7GYvFxbcI4WR9gu7w/lLtBBloB4V9tFDZm54sP6uGrGA2a +/z+etVRfgM5M9i1NPy3bhn1KPuHkj8C8tRoOZ2rHmf4bimcTagIaIXuGfwPbOjlBFVV LGQg== X-Gm-Message-State: APjAAAWE0UPSXGAhMyDNRRYTan+/WfA9DI6AubvE6dM0qKkcj7BUmWTK HN4vZ8pyADSR9RTzRLDSuTgk1w== X-Google-Smtp-Source: APXvYqypKhP0GJ4crMqFTm2gJfm9MGkUT8XThUXubiI0iG6z2LQ6T/bcQP4cTFHWaCdMFRtVeATdwg== X-Received: by 2002:a25:820c:: with SMTP id q12mr64953110ybk.166.1578279387568; Sun, 05 Jan 2020 18:56:27 -0800 (PST) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id a189sm28440962ywh.92.2020.01.05.18.56.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Jan 2020 18:56:26 -0800 (PST) Received: by pryzbyj (Postfix, from userid 1000) id 8ABE8800925; Sun, 5 Jan 2020 20:56:23 -0600 (CST) Date: Sun, 5 Jan 2020 20:56:23 -0600 From: Justin Pryzby To: pgsql-hackers@lists.postgresql.org Cc: Simon Riggs Subject: doc: alter table references bogus table-specific planner parameters Message-ID: <20200106025623.GA12066@telsasoft.com> References: <20200103141427.GK12066@telsasoft.com> <20200104165047.GW12066@telsasoft.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="uc35eWnScqDcQrv5" Content-Disposition: inline In-Reply-To: <20200104165047.GW12066@telsasoft.com> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --uc35eWnScqDcQrv5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline commit 6f3a13ff058f15d565a30c16c0c2cb14cc994e42 Enhance docs for ALTER TABLE lock levels of storage parms Author: Simon Riggs Date: Mon Mar 6 16:48:12 2017 +0530 SET ( storage_parameter = value [, ... ] ) ... - Changing fillfactor and autovacuum storage parameters acquires a SHARE UPDATE EXCLUSIVE lock. + SHARE UPDATE EXCLUSIVE lock will be taken for + fillfactor and autovacuum storage parameters, as well as the + following planner related parameters: + effective_io_concurrency, parallel_workers, seq_page_cost + random_page_cost, n_distinct and n_distinct_inherited. effective_io_concurrency, seq_page_cost and random_page_cost cannot be set for a table - reloptions.c shows that they've always been RELOPT_KIND_TABLESPACE. n_distinct lock mode seems to have been changed and documented at e5550d5f ; 21d4e2e2 claimed to do the same, but the LOCKMODE is never used. See also: commit 21d4e2e20656381b4652eb675af4f6d65053607f Reduce lock levels for table storage params related to planning Author: Simon Riggs Date: Mon Mar 6 16:04:31 2017 +0530 commit 47167b7907a802ed39b179c8780b76359468f076 Reduce lock levels for ALTER TABLE SET autovacuum storage options Author: Simon Riggs Date: Fri Aug 14 14:19:28 2015 +0100 commit e5550d5fec66aa74caad1f79b79826ec64898688 Reduce lock levels of some ALTER TABLE cmds Author: Simon Riggs Date: Sun Apr 6 11:13:43 2014 -0400 commit 2dbbda02e7e688311e161a912a0ce00cde9bb6fc Reduce lock levels of CREATE TRIGGER and some ALTER TABLE, CREATE RULE actions. Author: Simon Riggs Date: Wed Jul 28 05:22:24 2010 +0000 commit d86d51a95810caebcea587498068ff32fe28293e Support ALTER TABLESPACE name SET/RESET ( tablespace_options ). Author: Robert Haas Date: Tue Jan 5 21:54:00 2010 +0000 Justin --uc35eWnScqDcQrv5 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="v1-0001-Fixes-for-commit-6f3a13ff.patch"