Re: [HACKERS] [RFC] Should "SHOW huge_pages" display the effective value "off" when the huge page is unavailable?

2017-02-06 Thread Tom Lane
Fujii Masao writes: > On Tue, Feb 7, 2017 at 12:36 AM, Tom Lane wrote: >> If the proposal is to have SHOW report something other than the setting >> of the variable, that's not a great plan either. It's generally important >> that the output of SHOW be

Re: [HACKERS] [RFC] Should "SHOW huge_pages" display the effective value "off" when the huge page is unavailable?

2017-02-06 Thread Fujii Masao
On Tue, Feb 7, 2017 at 12:36 AM, Tom Lane wrote: > Fujii Masao writes: >> On Mon, Feb 6, 2017 at 4:01 PM, Tsunakawa, Takayuki >> wrote: >>> I don't have a strong opinion on that, but I think a bit that it would be >>>

Re: [HACKERS] [RFC] Should "SHOW huge_pages" display the effective value "off" when the huge page is unavailable?

2017-02-06 Thread Tom Lane
Fujii Masao writes: > On Mon, Feb 6, 2017 at 4:01 PM, Tsunakawa, Takayuki > wrote: >> I don't have a strong opinion on that, but I think a bit that it would be >> better to reflect the effective setting, i.e. SHOW displays huge_pages as >>

Re: [HACKERS] [RFC] Should "SHOW huge_pages" display the effective value "off" when the huge page is unavailable?

2017-02-06 Thread Fujii Masao
On Mon, Feb 6, 2017 at 4:01 PM, Tsunakawa, Takayuki wrote: > Hello, all > > Could you give me your opinions on whether the SHOW command should display > the effective value or the specified value for huge_pages? During the review > of "Supporting huge_pages on

[HACKERS] [RFC] Should "SHOW huge_pages" display the effective value "off" when the huge page is unavailable?

2017-02-05 Thread Tsunakawa, Takayuki
Hello, all Could you give me your opinions on whether the SHOW command should display the effective value or the specified value for huge_pages? During the review of "Supporting huge_pages on Windows", which is now shifted to CommitFest 2017-3, Magnus gave me a comment that the huge_page