2015-10-20 16:50 GMT+02:00 Robert Haas <robertmh...@gmail.com>: > On Mon, Oct 19, 2015 at 7:59 PM, Jim Nasby <jim.na...@bluetreble.com> > wrote: > > I fail to see how doing > > > > HINT: NULL > > > > is much better than just not raising a HINT at all... > > I'm not a huge fan of this patch, as previously noted, but I certainly > agree that if we're going to do it, we should ignore a null argument, > not print out the word "NULL". Who would ever want that behavior? >
Probably it was my request. I don't like to using NULL as value, that should be ignored. The "hint" is clean, there NULL can be ignored, but what about DETAIL or MESSAGE? I am strong in my opinion about PLpgSQL RAISE statement behave, but on second hand, proposed function should not be 100% same as RAISE stmt. More we can simply add a parameter like "ignore_nulls" Regards Pavel > > -- > Robert Haas > EnterpriseDB: http://www.enterprisedb.com > The Enterprise PostgreSQL Company >