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

From Jim Nasby
Subject Re: [PATCH] SQL function to report log message
Date
Msg-id 564AD458.1050001@BlueTreble.com
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  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On 11/15/15 10:56 PM, dinesh kumar wrote:
> So, shall we make this pg_report_log TO pg_write_log OR pg_ereport OR
> <SOME OTHER GOOD SUGGESTIONS> from you.

Why not pg_raise to mirror plpgsql? (The function does have the same 
semantics, right? It's not doing something like only sending to the log 
and not the client?)
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com



pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: Proposal: "Causal reads" mode for load balancing reads without stale data
Next
From: dinesh kumar
Date:
Subject: Re: Proposing COPY .. WITH PERMISSIVE