Re: [PATCH] SQL function to report log message - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCH] SQL function to report log message
Date
Msg-id 56294115.8080500@gmx.net
Whole thread Raw
In response to Re: [PATCH] SQL function to report log message  (dinesh kumar <dineshkumar02@gmail.com>)
Responses Re: [PATCH] SQL function to report log message  (Pavel Stehule <pavel.stehule@gmail.com>)
List 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 by date:

Previous
From: Robert Haas
Date:
Subject: Re: make Gather node projection-capable
Next
From: Robert Haas
Date:
Subject: Re: Dangling Client Backend Process