Re: How to REMOVE a fillfactor set by accident?

From: Thomas Kellerer <shammat(at)gmx(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: How to REMOVE a fillfactor set by accident?
Date: 2020-12-31 20:31:56
Message-ID: 71e29c60-8fba-9856-13d8-79695c0f436a@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2020-12-31 20:33:17 Re: How to REMOVE a fillfactor set by accident?
Previous Message Ron 2020-12-31 20:24:00 Re: How to REMOVE a fillfactor set by accident?