Teodor Sigaev <teo...@sigaev.ru> writes: >> It should go through SetConfigOption(); compare for example >> tsa_set_curcfg_byname(). Which would also mean you could drop the
> Seems, also show_limit() should use GetConfigOption()? Nah, that's overkill. The current contents of similarity_threshold are always the current state of the GUC variable. The problem with just assigning to the variable is that then guc.c doesn't know what you did and might overwrite the value later. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers