On Mon, Feb 6, 2017 at 4:01 PM, Tsunakawa, Takayuki <tsunakawa.ta...@jp.fujitsu.com> 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 Windows", which is now shifted to CommitFest > 2017-3, Magnus gave me a comment that the huge_page variable should retain > the value "try" when the huge page is not available on the machine and the > server falls back to huge_page=off. The Linux version does so. > > 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 > off, not try.
Not sure if this is best way to do that, but I agree that it's helpful if we can see whether the server actually uses huge page or not in huge_page=try case. Regards, -- Fujii Masao -- Sent via pgsql-hackers mailing list (email@example.com) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers