How to REMOVE a fillfactor set by accident?

From: Thorsten Schöning <tschoening(at)am-soft(dot)de>
To: PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: How to REMOVE a fillfactor set by accident?
Date: 2020-12-31 20:13:28
Message-ID: 1908635665.20201231211328@am-soft.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,

I'm using the GUI tool pgModeler to maintain schemas and at some point
in the past it used fillfactor 10 for some indexes by default. That
seems to have changed in the meantime and most of my indexes don't
have ANY fillfactor set explicitly.

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);

So removing isn't possible at all and I can only set to concrete
values like 100 or don't care at all instead? Because fillfactor=10 is
only set for some low throughput test databases currently.

Thanks!

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning
AM-SoFT IT-Service - Bitstore Hameln GmbH

E-Mail: Thorsten(dot)Schoening(at)AM-SoFT(dot)de
Web: http://www.AM-SoFT.de/

Telefon: 05151- 9468-55
Fax: 05151- 9468-88
Mobil: 0178-8 9468-04

Firmensitz: Bitstore IT-Consulting, Frankfurter Allee 285, 10317 Berlin
Steuernummer 037/230/30566, HR 27198, Amtsgericht Potsdam Geschäftsführer Janine Galonska

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron 2020-12-31 20:24:00 Re: How to REMOVE a fillfactor set by accident?
Previous Message Thorsten Schöning 2020-12-31 19:50:09 Re: Declarative partitioning and automatically generated row-IDs using BIGSERIAL