Re: pg_dump 9.1.1 hanging (collectSecLabels gets 0 labels)

Поиск
Список
Период
Сортировка
От Steve Singer
Тема Re: pg_dump 9.1.1 hanging (collectSecLabels gets 0 labels)
Дата
Msg-id 4EBC2B63.3050500@ca.afilias.info
обсуждение исходный текст
Ответ на Re: pg_dump 9.1.1 hanging (collectSecLabels gets 0 labels)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_dump 9.1.1 hanging (collectSecLabels gets 0 labels)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 11-11-10 02:00 PM, Tom Lane wrote:
> Steve Singer<ssinger@ca.afilias.info>  writes:
>> The man page for malloc on AIX is pretty clear on what happens when you
>> try to malloc 0 bytes.  It returns NULL.
>
> Yes, that's a pretty common behavior for malloc(0).  It should not cause
> a problem here AFAICS.
>
> ... Oh, I see, the problem is that&labels[-1] might not compare to
> &labels[0] the way we want.  I think only the first hunk of your
> patch is actually necessary.
>
>             regards, tom lane
>

Yes the problem is still fixed if I only apply the first hunk.




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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: const correctness
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: -Wcast-qual cleanup, part 1