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 1vzMd4-000vyu-1o for pgsql-general@arkaria.postgresql.org; Sun, 08 Mar 2026 22:29:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vzMd2-00Bnma-3D for pgsql-general@arkaria.postgresql.org; Sun, 08 Mar 2026 22:29:41 +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.96) (envelope-from ) id 1vzMd2-00BnmS-2D for pgsql-general@lists.postgresql.org; Sun, 08 Mar 2026 22:29:41 +0000 Received: from smtp.burggraben.net ([2a01:4f8:140:510a::3]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vzMd0-00000001Br3-35CU for pgsql-general@lists.postgresql.org; Sun, 08 Mar 2026 22:29:40 +0000 Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7120:1:21b:21ff:fef0:248b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "elch.exwg.net", Issuer "R13" (not verified)) by smtp.burggraben.net (Postfix) with ESMTPS id 0DA56C011E1; Sun, 8 Mar 2026 23:29:36 +0100 (CET) Received: by elch.exwg.net (Postfix, from userid 1000) id 823C8FE598; Sun, 08 Mar 2026 23:29:35 +0100 (CET) Date: Sun, 8 Mar 2026 23:29:35 +0100 From: Christoph Moench-Tegeder To: Igor Korot Cc: "pgsql-generallists.postgresql.org" Subject: Re: CREATE TABLE fails Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.3.0 (2026-01-25) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk ## Igor Korot (ikorot01@gmail.com): > [quote] > draft=# CREATE TABLE leagues_new(id serial, name varchar(100), > drafttype smallint, scoringtype smallint, roundvalues smallint, > leaguetype char(5), salary integer, benchplayers smallint, primary > key(id) INCLUDE (drafttype, scoringtype) WITH( fillfactor = 50, > autovacuum_enabled )); > ERROR: unrecognized parameter "autovacuum_enabled" > [/quote] > > But the page at > https://www.postgresql.org/docs/16/sql-createtable.html#SQL-CREATETABLE-STORAGE-PARAMETERS > says it's available. It's available as a TABLE storage parameter, but you put it on the index definition (where it's not valid) - this could be a conceptual mistake or a misplaced right parenthesis. See the example on your linked page: https://www.postgresql.org/docs/16/sql-createtable.html#SQL-CREATETABLE-STORAGE-PARAMETERS:~:text=fill%20factor%20for%20both%20the%20table%20and%20its%20unique%20index Regards, Christoph -- Spare Space