Re: [PATCH] SQL function to report log message

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: dinesh kumar <dineshkumar02(at)gmail(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, David Fetter <david(at)fetter(dot)org>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] SQL function to report log message
Date: 2015-11-16 01:50:42
Message-ID: 56493672.2050802@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 10/22/15 3:20 AM, dinesh kumar wrote:
> + <row>
> + <entry>
> + <literal><function>pg_report_log(<parameter>loglevel</><type>text</>, <parameter>message</> <type>anyelement</>[, <parameter>ishidestmt</> <type>boolean</> ] [, <parameter>detail</> <type> text</>] [, <parameter>hint</> <type>text</>] [, <parameter>sqlstate</> <type>text</>])</function></literal>
> + </entry>
> + <entry><type>void</type></entry>
> + <entry>
> + Report message or error.
> + </entry>
> + </row>

I haven't seen this discussed before, but I don't find the name
pg_report_log particularly good. Why not jut pg_log?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2015-11-16 01:57:51 Re: pglogical_output - a general purpose logical decoding output plugin
Previous Message Peter Geoghegan 2015-11-16 01:43:20 Re: psql: add \pset true/false