Re: pgsql: Allow psql multi-line column values to align

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: pgsql: Allow psql multi-line column values to align
Дата
Msg-id Pine.BSO.4.61.0602100151570.23655@leary.csoft.net
обсуждение исходный текст
Ответ на pgsql: Allow psql multi-line column values to align in the proper  (momjian@postgresql.org (Bruce Momjian))
Ответы Re: pgsql: Allow psql multi-line column values to align  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-committers

On Thu, 9 Feb 2006, Bruce Momjian wrote:

> Log Message:
> -----------
> Allow psql multi-line column values to align in the proper columns
>

There is a problem with this on AIX.

http://pgbuildfarm.org/cgi-bin/show_log.pl?nm=asp&dt=2006-02-10%2006:23:00

For tables that have no columns AIX thinks it has an out of memory error.
src/bin/psql/print.c:pg_local_calloc bails out if calloc returns NULL.  I
believe AIX is returning NULL for calloc with a count of zero.  Efforts
are made not to call pg_local_calloc with a count of zero, but one place
is missed, the attached patch fixes that.

Additionally there are a whole lot of of signedness warnings introduced
which I've attached.

Kris Jurka

Вложения

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: pgsql: Allow psql multi-line column values to align
Следующее
От: teodor@postgresql.org (Teodor Sigaev)
Дата:
Сообщение: pgsql: renew output of regression test accordingly to