Re: pgsql: Add vacuum_truncate configuration parameter.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nathan Bossart <nathan(at)postgresql(dot)org>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Add vacuum_truncate configuration parameter.
Date: 2025-03-20 15:30:54
Message-ID: 993142.1742484654@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Nathan Bossart <nathan(at)postgresql(dot)org> writes:
> Since there's presently no way to determine whether a Boolean
> storage parameter is explicitly set or has just picked up the
> default value, this commit also introduces an isset_offset member
> to relopt_parse_elt.

Uh, what? Why is it a good idea to distinguish those states?
Seems like that risks some very surprising behavior, ie if the
default is "true", why shouldn't that act exactly like an
explicit setting of "true"?

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message David G. Johnston 2025-03-20 15:39:53 Re: pgsql: Add vacuum_truncate configuration parameter.
Previous Message Nathan Bossart 2025-03-20 15:17:09 pgsql: Add vacuum_truncate configuration parameter.