Some reloptions non-initialized when loaded

Started by Michael Paquierover 7 years ago2 messageshackers
Beta feature

Hackorum builds and tests every patch posted to the lists, not only commitfest submissions. This is Hackorum's own CI rather than the PostgreSQL project's, and it is still under testing - please report anything that looks wrong.

appliessuccessCI history

You can run a PostgreSQL built from this patch straight from Docker, with no checkout and no build:

docker run --rm -p 5432:5432 ghcr.io/hackorum-dev/postgres-patch:t40804
psql -h localhost -U postgres

Built from patchset v1 (message #1), September 20, 2026 at 12:39 PM.

Every patchset is also pushed to a branch of our PostgreSQL fork, so you can check out the same tree CI built. Without a PostgreSQL checkout:

git clone --branch t40804_1 https://github.com/hackorum-dev/postgres.git

In a checkout you already have, add the fork once:

git remote add hackorum https://github.com/hackorum-dev/postgres.git

then, for this patchset and every later one:

git fetch hackorum t40804_1 && git checkout t40804_1

Patchset v1 (message #1) is on t40804_1

Jump to latest
#1Michael Paquier
michael@paquier.xyz

Hi all,

While looking at this code, I have noticed that a couple of reloptions
which are not toast-specific don't get properly initialized.
toast_tuple_target and parallel_workers are the ones standing out.

Thoughts?
--
Michael

Attachments:

t40804_1
relopts-init.patchtext/x-diff; charset=us-asciiDownload+2-0
#2Kuntal Ghosh
kuntalghosh.2007@gmail.com
In reply to: Michael Paquier (#1)
Re: Some reloptions non-initialized when loaded

Hello,

On Wed, Jun 19, 2019 at 10:23 AM Michael Paquier <michael@paquier.xyz> wrote:

Hi all,

While looking at this code, I have noticed that a couple of reloptions
which are not toast-specific don't get properly initialized.
toast_tuple_target and parallel_workers are the ones standing out.

Do we also need to initialize vacuum_cleanup_index_scale_factor?

--
Thanks & Regards,
Kuntal Ghosh
EnterpriseDB: http://www.enterprisedb.com