public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: Igor Korot <[email protected]>
Cc: Ron Johnson <[email protected]>
Cc: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: CREATE TABLE fails
Date: Sun, 8 Mar 2026 16:37:26 -0700
Message-ID: <CAKFQuwacfsmtWBGTs12nqNGC0fbagFX5gkPUCx0OMAL2-L9b3Q@mail.gmail.com> (raw)
In-Reply-To: <CA+FnnTzc4aUmBMqhcv+Cp=zaihJFASZ=xKRf0oPNV9pzdkS-Cg@mail.gmail.com>
References: <CA+FnnTyGEM-1mwxKPbwFTOodf+YUX=TxTmBPY5S=Yh1h=oVY9A@mail.gmail.com>
	<CANzqJaAXyx9j5hxrY11acr7iPmzz9K9xQ83SfpPXnhUo3f1iAA@mail.gmail.com>
	<CA+FnnTzc4aUmBMqhcv+Cp=zaihJFASZ=xKRf0oPNV9pzdkS-Cg@mail.gmail.com>

On Sunday, March 8, 2026, Igor Korot <[email protected]> wrote:

>
> >>
> >> 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?


Those are table storage parameters.


> primary
> key(id) INCLUDE (drafttype, scoringtype) WITH( fillfactor = 50,
> autovacuum_enabled = on ));
> ERROR:  unrecognized parameter "autovacuum_enabled"
> draft=#
>

You are specifying index storage parameters here.

The first paragraph of your linked section says:

“Storage parameters for indexes are documented in CREATE INDEX
<https://www.postgresql.org/docs/16/sql-createindex.html>.”

You will find autovacuum_enabled is not listed there.  Because you can’t
vacuum an index separately from its table.

David J.


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: CREATE TABLE fails
  In-Reply-To: <CAKFQuwacfsmtWBGTs12nqNGC0fbagFX5gkPUCx0OMAL2-L9b3Q@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox