Re: [PATCH] SQL function to report log message

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] SQL function to report log message
Дата
Msg-id 56294115.8080500@gmx.net
обсуждение исходный текст
Ответ на Re: [PATCH] SQL function to report log message  (dinesh kumar <dineshkumar02@gmail.com>)
Ответы Re: [PATCH] SQL function to report log message  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
On 10/22/15 3:20 AM, dinesh kumar wrote:
> postgres=# SELECT pg_report_log('INFO', 'NULL', false, NULL, NULL);
> INFO:  NULL
> 
> postgres=# SELECT pg_report_log('INFO', 'NULL', false, 'NULL', 'NULL');
> INFO:  NULL
> DETAIL:  NULL  /-- Are you suggesting to change this behaviour/
> HINT:  NULL

These look wrong to me.

I'd throw an error if a null message is passed.

(Not particularly in favor of this patch, but just saying ...)




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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: make Gather node projection-capable
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Dangling Client Backend Process