public inbox for [email protected]
help / color / mirror / Atom feedFrom: Christoph Moench-Tegeder <[email protected]>
To: Igor Korot <[email protected]>
Cc: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: CREATE TABLE fails
Date: Mon, 9 Mar 2026 08:18:25 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <CA+FnnTzqUu0VDtG7vy_=NoU47apgQqHyYLPPoR12hKiepVW6cA@mail.gmail.com>
References: <CA+FnnTyGEM-1mwxKPbwFTOodf+YUX=TxTmBPY5S=Yh1h=oVY9A@mail.gmail.com>
<[email protected]>
<CA+FnnTzqUu0VDtG7vy_=NoU47apgQqHyYLPPoR12hKiepVW6cA@mail.gmail.com>
## Igor Korot ([email protected]):
> > 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=fi...
>
> Please check the PRIMARY KEY clause on that same linked page.
> It says "Storage Parameters" are definitely supported there.
As I wrote earlier: autovacuum_enabled is not a valid storage parameter
for indexes. The exact sentence after the one you're refering to tells
you that "Storage parameters for indexes are documented in CREATE INDEX"
and autovacuum_enabled is not documented there - it's valid for tables
only. (On the other hand, there are index storage parameters which are
not available for tables - they might make no sense on a table or refer
to specific index types only).
Regards,
Christoph
--
Spare Space.
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]
Subject: Re: CREATE TABLE fails
In-Reply-To: <[email protected]>
* 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