Re: BUG #16743: psql doesn't show whole expression in stored column

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #16743: psql doesn't show whole expression in stored column
Дата
Msg-id 286182.1606232817@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #16743: psql doesn't show whole expression in stored column  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #16743: psql doesn't show whole expression in stored column  (Bruce Momjian <bruce@momjian.us>)
Re: BUG #16743: psql doesn't show whole expression in stored column  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> when generated column expression length is larger then some value - the rest
> of expression is cut in \d[+] output:

Yeah, this is an intentional and very ancient behavior:

        appendPQExpBufferStr(&buf,
                             ",\n  (SELECT substring(pg_catalog.pg_get_expr(d.adbin, d.adrelid, true) for 128)"
                             "\n   FROM pg_catalog.pg_attrdef d"

Maybe we should decide that completeness is more important than keeping
the line to some arbitrary width.  But it's operating as designed.

            regards, tom lane



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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #16743: psql doesn't show whole expression in stored column
Следующее
От: Manoj Kumar
Дата:
Сообщение: Re: BUG #16739: Temporary files not deleting from data folder on disk