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 1vzNcW-000wzf-0D for pgsql-general@arkaria.postgresql.org; Sun, 08 Mar 2026 23:33:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vzNcU-00CBcJ-1N for pgsql-general@arkaria.postgresql.org; Sun, 08 Mar 2026 23:33:10 +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 1vzNcU-00CBc7-0P for pgsql-general@lists.postgresql.org; Sun, 08 Mar 2026 23:33:10 +0000 Received: from mail-yw1-x1136.google.com ([2607:f8b0:4864:20::1136]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vzNcS-00000001hiZ-0r8j for pgsql-general@lists.postgresql.org; Sun, 08 Mar 2026 23:33:10 +0000 Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-79868cde1eeso120072947b3.2 for ; Sun, 08 Mar 2026 16:33:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1773012787; cv=none; d=google.com; s=arc-20240605; b=N76JBdQC2LMf7ViZZ4jnsXFpDdQL3Dk1GfBThMjsI8irRJgd3kD5nViK06c1+Vc1LW 1q2F8KXTDNRBRgIeX3LA5OpxvumL8fwVaLHNEsr/8GSD1LJ1Fyvw5KGvbRKO5Kbduh74 Jap46UzTZZw0vq5fDdmO1/2RXqxipQX+WJjsTL4NkWV2bEQG7MOY7x9bEDTwtLVICUno 1LuUNJEr+sql0CE3KXrd7v7SLvCdVeBSt4xiVV/8HeweGHqBVxEppNk//dIdHua8Nr3k lBMsJRyp1vZ4I/JJmDTFhjzle4WzZTm/EEEHDpCf2gQ2T4qhc3RyEvHNiPfOpckqzEiJ 8OZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=5UK4f0wcGHxtsbd9OhTCHGxaMn+C+isjaTVuth1uC8M=; fh=a8Df+TcRBYCO6E6MwjwDx2OVYKL4ps/b/a+G4vPaick=; b=N/cvVPXdDqBXgYWq3YNf1WnRNiXcyYY4byyF+2Fb0MSJPI2QaJYhNsNKTrc1daGij7 27lS4LZV5R7Bo0K8Q9BGCFqH2ZodG3BJaITCTiIQLMbWczBCuDvJ0QoL6EDaEMofud/Q 9HjuDOM0W6eQhAZicR8nm9rl1Z8d1YR7vI0qxT30wj2H7BOD1oA0xuzAE/1n5Ck6cTsA PAMx4KdCQeowpUYoUSmy9n99Jm22v2LjW2cGV0ydksER9cHZ9D6ik31CE+M5d+ejBMgF QFAn3AyMp+gDxeeafyd6dSkDIeaeqzlEeeb+jC4BUUB1JO6bZBF4tzRvWN19As/0Mb35 LkEg==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773012787; x=1773617587; darn=lists.postgresql.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=5UK4f0wcGHxtsbd9OhTCHGxaMn+C+isjaTVuth1uC8M=; b=VyZ0FLflDqGBL1g+MLdqzqrsDB8BVtu1TBNHr8c3GnvNMkacvAoQzELnUBmwLjhGBV HYaBd168HX6kSX33Jeb0GN23OeWboSCffeI+9xSOCJTb3/I40UzqqWEVA/hkwOz2ligM ADAIpxpxqBugRwNvMLv9Z3iQ6F+yV8EXp2O6isKkdC5j9ZSvvG5rcDyYWpDr3O16idjT nJKv1hTYMgaAXh+jnGl3lRuuP9BVE5JOchxH/rnWsFDk+iywFu3fsQ44AqNH8iLf0dzh yhwCSipjOqNQCRfVKWZuPSsgQbXxAdLC9FwZt+5lVsPMMNATkmT7+0yRABwPme3y08oc gNcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773012787; x=1773617587; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=5UK4f0wcGHxtsbd9OhTCHGxaMn+C+isjaTVuth1uC8M=; b=gsKvx8apFAzlINSCPmcSODwRdxRWE4KzeifahccQTz/WfufQOvMxnEK+SNxrngDusR k2LyVPeUJo/kZ5rNNQTxcv52wp5X56Wv7QGlMeb3Htq0SD8L9+dDfYKHZ7S32aTv4DqN S1lRmz+MyB+EoqbdyBP5SES4OpldgMkqhwmnmfo5iG2AkFPI7vNP5ydxFNI5l6J3a0L1 ND5RqpDGZbY0/WcjsJjr4XB2t/SFfD4BZ+yhfN0to2RBsXSXXaPJ7tVd6LKnnwr2AGhW J93t9+KsLE7avNmpgVnnJg4TmAYMz+kp/gqZasnUOKy8s2ndgw4ZnQl0AYTyLJwqoAmy kVnA== X-Forwarded-Encrypted: i=1; AJvYcCWt9bCd58XJSQVYGWWf4bWPHG4vrhD8jHFiwT9RjH5M5ANM7wpnN1bkwsoLUAiwqySvWyVWFgZB5/FCoflF@lists.postgresql.org X-Gm-Message-State: AOJu0YyRmSQhfEtd0xi4ZZAEfJHec5mhPXFF0vHRQ6BBY31l2pBdhXfm llC2nktQrssMsCH5UqVynzLIZi2Vcv4kXNkS9b03WiuR14/zmSc678cWSHRt3FsfSs8hmoPR5p1 CRgpVGOVu3zCuvKVr7KcGLCWYgc4fcffQzA== X-Gm-Gg: ATEYQzx4MQYGrHDuCvs8d54vO28xV77kLWm5VsT/2uFiMAUa72XRplI/h2TRlkmbSoo 0EY3HECbgkWTS277rLmCayNICEQAkxUCbG3ia3NYQ4U7MbQJf7By1ufXhfIm+rjPOKii1ErDDWe +nQPZBKUv0fzipuCiUX3DJZqpntVywVn3aIEdlouX+qDygsEEOAeUYGObXB7XaK2VwKnSBldcnk re1e6ajJ8zbyioX5LuaApObnheIOil5zu2vUxsyJMqZa0ha3Y1se5vk84Eo9z/TCgNlDKkhkEiG ts8= X-Received: by 2002:a05:690c:6202:b0:78c:5bb4:1d27 with SMTP id 00721157ae682-798dd74337cmr85107707b3.38.1773012786924; Sun, 08 Mar 2026 16:33:06 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Igor Korot Date: Sun, 8 Mar 2026 18:32:55 -0500 X-Gm-Features: AaiRm53DF9uCwjE07EqxkoVBwGe591_d9EBJeTn0W987Wnua6JPJiTFRoKWbfMI Message-ID: Subject: Re: CREATE TABLE fails To: Sahul Hameed , "pgsql-generallists.postgresql.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Sahul, On Sun, Mar 8, 2026 at 5:40=E2=80=AFPM Sahul Hameed wrote: > > The problem is that you're putting the WITH clause on the PRIMARY KEY con= straint, which applies to the index, not the table. > > 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 =3D 50, autova= cuum_enabled =3D true ); This definitely is supported for the PRIMARY KEY constraint. Just remove the faulty clause and leave only "fillfactor" one... Thank you. > > --Sahul > > On Sun, Mar 8, 2026 at 10:10=E2=80=AFPM Igor Korot w= rote: >> >> Hi, ALL, >> >> [quote] >> draft=3D# 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 =3D 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. >> >> What am I missing? >> >> Thank you. >> >>