Обсуждение: pg_stat_get_progress_info(NULL) blows up

Поиск
Список
Период
Сортировка

pg_stat_get_progress_info(NULL) blows up

От
Thomas Munro
Дата:
Hi

I guess pg_stat_get_progress_info should either be strict (see
attached) or check for NULL.

--
Thomas Munro
http://www.enterprisedb.com

Вложения

Re: pg_stat_get_progress_info(NULL) blows up

От
Amit Langote
Дата:
On 2016/03/14 10:54, Thomas Munro wrote:
> Hi
> 
> I guess pg_stat_get_progress_info should either be strict (see
> attached) or check for NULL.

Thanks a lot for reporting and the patch.  I think that's an oversight.

Thanks,
Amit





Re: pg_stat_get_progress_info(NULL) blows up

От
Tom Lane
Дата:
Thomas Munro <thomas.munro@enterprisedb.com> writes:
> I guess pg_stat_get_progress_info should either be strict (see
> attached) or check for NULL.

Pushed, thanks.
        regards, tom lane