Re: [PATCH] SQL function to report log message

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: David Fetter <david(at)fetter(dot)org>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Robert Haas <robertmhaas(at)gmail(dot)com>, dinesh kumar <dineshkumar02(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>, 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-09-10 03:05:24
Message-ID: CAFj8pRDaDeqM2PxGqJOxYNmmbtbzffUs+FoVmA93G_-r5x4SqQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2015-09-10 2:47 GMT+02:00 David Fetter <david(at)fetter(dot)org>:

> On Thu, Sep 10, 2015 at 01:32:10AM +0200, Andres Freund wrote:
> > On 2015-09-09 18:27:51 -0400, Robert Haas wrote:
> > > On Wed, Sep 9, 2015 at 11:37 AM, dinesh kumar <dineshkumar02(at)gmail(dot)com>
> wrote:
> > > > Sure, it’s a clear fact that, we can implement this function
> > > > with RAISE statements.
> > >
> > > Given that, I suggest we just forget the whole thing.
> >
> > I'm not convinced. Sure, it's easy, but I by now have written the
> > respective function dozens of times. Why should we force that on
> > everyone?
>
> +20 or so here, that being the number of times I recall offhand having
> written the function.
>

I have same opinion - it is pretty often used function.

Pavel

>
> Cheers,
> David.
> --
> David Fetter <david(at)fetter(dot)org> http://fetter.org/
> Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
> Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
>
> Remember to vote!
> Consider donating to Postgres: http://www.postgresql.org/about/donate
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2015-09-10 03:41:13 Re: proposal: function parse_ident
Previous Message Andres Freund 2015-09-10 00:58:58 Re: Freeze avoidance of very large table.