Re: pg_dump 9.1.1 hanging (collectSecLabels gets 0 labels)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump 9.1.1 hanging (collectSecLabels gets 0 labels)
Дата
Msg-id 22911.1320881700@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump 9.1.1 hanging (collectSecLabels gets 0 labels)  (Steve Singer <ssinger@ca.afilias.info>)
Ответы Re: pg_dump 9.1.1 hanging (collectSecLabels gets 0 labels)
Список pgsql-hackers
Steve Singer <ssinger@ca.afilias.info> writes:
> I've tracked the issue down to collectSecLabels in pg_dump.c

> SELECT label, provider, classoid, objoid, objsbid FROM 
> pg_catalog.pg_seclabel;

> returns 0 rows.

> The code in collectSecLabels() is not prepared to deal with a zero row 
> result and tries to malloc 0 bytes.

pg_seclabel is almost always empty, so I'm not convinced that you've
identified your problem correctly.
        regards, tom lane


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