Re: pgsql: Add vacuum_truncate configuration parameter. - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Add vacuum_truncate configuration parameter.
Date
Msg-id 993142.1742484654@sss.pgh.pa.us
Whole thread Raw
In response to pgsql: Add vacuum_truncate configuration parameter.  (Nathan Bossart <nathan@postgresql.org>)
Responses Re: pgsql: Add vacuum_truncate configuration parameter.
Re: pgsql: Add vacuum_truncate configuration parameter.
List pgsql-committers
Nathan Bossart <nathan@postgresql.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



pgsql-committers by date:

Previous
From: Nathan Bossart
Date:
Subject: pgsql: Add vacuum_truncate configuration parameter.
Next
From: "David G. Johnston"
Date:
Subject: Re: pgsql: Add vacuum_truncate configuration parameter.