Re: How to REMOVE a fillfactor set by accident? - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: How to REMOVE a fillfactor set by accident?
Date
Msg-id 71e29c60-8fba-9856-13d8-79695c0f436a@gmx.net
Whole thread Raw
In response to How to REMOVE a fillfactor set by accident?  (Thorsten Schöning <tschoening@am-soft.de>)
Responses Re: How to REMOVE a fillfactor set by accident?
List pgsql-general
Thorsten Schöning schrieb am 31.12.2020 um 21:13:
> Is there some way to REMOVE the fillfactor where it is set, so that
> Postgres applies it's defaults? Would be great to have an output of
> NULL everywhere where fillfactor is output instead of sometimes e.g.
> 100 and more often NULL.
>
> I've already tried setting things to NULL, which failed with
> mentioning that a decimal number is necessary. Though, even setting 0
> fails, because a value between 10 and 100 is required.
>
>> ALTER INDEX  pk_clt_rec_src SET (fillfactor = NULL);
>> ALTER INDEX  pk_clt_rec_src SET (fillfactor = 0);
>

ALTER INDEX pk_clt_rec_src RESET (fillfactor);

should do it.




pgsql-general by date:

Previous
From: Ron
Date:
Subject: Re: How to REMOVE a fillfactor set by accident?
Next
From: "David G. Johnston"
Date:
Subject: Re: How to REMOVE a fillfactor set by accident?