Re: Avoid a possible null pointer (src/backend/utils/adt/pg_locale.c)

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
Cc: Jeff Davis <pgsql(at)j-davis(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Avoid a possible null pointer (src/backend/utils/adt/pg_locale.c)
Date: 2023-09-13 01:16:45
Message-ID: ZQENfZx8XskWHEG5@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Sep 12, 2023 at 09:40:04PM -0300, Ranier Vilela wrote:
> I think that is not a good idea.

Hm? We already use __func__ across the tree even on Windows and
nobody has complained about that. Using a macro for the elog()
generated would be slightly more elegant, actually.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message bt23nguyent 2023-09-13 01:18:46 Tab completion for ATTACH PARTITION
Previous Message ywgrit 2023-09-13 01:14:04 Is the member name of hashctl inappropriateļ¼Ÿ