Re: wrapping in extended mode doesn't work well with default pager

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: wrapping in extended mode doesn't work well with default pager
Дата
Msg-id 5398A559.7080309@gmx.net
обсуждение исходный текст
Ответ на Re: wrapping in extended mode doesn't work well with default pager  (Noah Misch <noah@leadboat.com>)
Ответы Re: wrapping in extended mode doesn't work well with default pager
Список pgsql-hackers
On 6/8/14, 11:29 PM, Noah Misch wrote:
> The patch did not restore 9.3 behavior for that one.  Starting with commit
> 6513633, the first line of letters is space-padded on the right to the width
> of the second line of letters.  To illustrate, I have attached raw psql output
> from both commit 6513633 and its predecessor.  Also note that
> psql-wrapped-expanded-fix-v4.patch expands each [ RECORD x ] header from 509
> bytes to 511 bytes; 509 is the longstanding width.

I noticed that (or perhaps a related) problem today.  Here is a simple demo:

psql -X -q -t -x -c 'select * from (values (1),(2)) as _ (col)'

9.3:

col | 1
----+--
col | 2

9.4:
col | 1
----+--col | 2


This breaks check_postgres.  (Why check_postgres doesn't use unaligned
output is beyond me.)




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: API change advice: Passing plan invalidation info from the rewriter into the planner?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: API change advice: Passing plan invalidation info from the rewriter into the planner?