Re: Review: plpgsql.extra_warnings, plpgsql.extra_errors - Mailing list pgsql-hackers

From Petr Jelinek
Subject Re: Review: plpgsql.extra_warnings, plpgsql.extra_errors
Date
Msg-id 532AD37A.908@2ndquadrant.com
Whole thread Raw
In response to Re: Review: plpgsql.extra_warnings, plpgsql.extra_errors  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Review: plpgsql.extra_warnings, plpgsql.extra_errors  (Piotr Stefaniak <postgres@piotr-stefaniak.me>)
Re: Review: plpgsql.extra_warnings, plpgsql.extra_errors  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
On 20/03/14 00:32, Tom Lane wrote:
>
> TBH, if I thought this specific warning was the only one that would ever
> be there, I'd probably be arguing to reject this patch altogether.

Of course, nobody assumes that it will be the only one.

>
> Also, adding GUC_LIST_INPUT later is not really cool since it changes
> the parsing behavior for the GUC.  If it's going to be a list, it should
> be one from day zero.
>

Actually it does not since it all has to be handled in check/assign hook
anyway.

But nevertheless, I made V6 with doc change suggested by Alvaro and also
added this list handling framework for the GUC params.
In the end it is probably less confusing now that the implementation
uses bitmask instead of bool when the user facing functionality talks
about list...

This obviously needs code review again (I haven't changed tests since
nothing changed from user perspective).


--
  Petr Jelinek                  http://www.2ndQuadrant.com/
  PostgreSQL Development, 24x7 Support, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: four minor proposals for 9.5
Next
From: Fujii Masao
Date:
Subject: Re: effective_cache_size cannot be changed by a reload