Re: Counting lines correctly in psql help displays

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Counting lines correctly in psql help displays
Дата
Msg-id 10180.1441486216@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Counting lines correctly in psql help displays  (Greg Stark <stark@mit.edu>)
Ответы Re: Counting lines correctly in psql help displays  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Список pgsql-hackers
Greg Stark <stark@mit.edu> writes:
> But that said, here's a tricksy patch that triggers an assertion
> failure if the expected_lines is wrong. I intended it to trigger in
> the regression tests so it only checks if the pager is actually off.
> It wouldn't be hard to make it always check though.

Hmm ... that would put a premium on the linecount always being exactly
right (for all callers, not just the help functions).  Not sure that
I want to buy into that --- it would require more complexity in the
callers than is there now, for sure.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Outdated documentation for PageHeaderData
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Outdated documentation for PageHeaderData