Re: Unhappy about API changes in the no-fsm-for-small-rels patch - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Unhappy about API changes in the no-fsm-for-small-rels patch
Date
Msg-id 17158.1557158721@sss.pgh.pa.us
Whole thread Raw
In response to Re: Unhappy about API changes in the no-fsm-for-small-rels patch  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Unhappy about API changes in the no-fsm-for-small-rels patch  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> ... I guess you could incur the overhead repeatedly if the relation starts
> out at 1 block, grows to 4, is vacuumed back down to 1, lather, rinse,
> repeat, but is that actually realistic?

While I've not studied the patch, I assumed that once a relation has an
FSM it won't disappear.  Making it go away again if the relation gets
shorter seems both fairly useless and a promising source of bugs.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: make \d pg_toast.foo show its indices
Next
From: Alvaro Herrera
Date:
Subject: Re: pg_dump: fail to restore partition table with serial type