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

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, 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 00:40:04
Message-ID: CAEudQAqW8RnCzh-U2vF16UO0PbbP-t6Jj1pu1bEHVT0++gjR0w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Em ter., 12 de set. de 2023 às 17:51, Jeff Davis <pgsql(at)j-davis(dot)com>
escreveu:

> On Tue, 2023-09-12 at 09:03 +0900, Michael Paquier wrote:
> > On Mon, Sep 11, 2023 at 12:15:49PM -0700, Jeff Davis wrote:
> > > That's fine with me.
> >
> > Okay. Then, please find attached a v4 for HEAD and REL_16_STABLE.
>
> One question: would it make sense to use __func__?
>
According to the msvc documentation, __func__ requires C++11.
https://learn.microsoft.com/en-us/cpp/cpp/func?view=msvc-170

I think that is not a good idea.

best regards,
Ranier Vilela

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Imseih (AWS), Sami 2023-09-13 00:48:48 Jumble the CALL command in pg_stat_statements
Previous Message Peter Smith 2023-09-13 00:27:35 Re: [PoC] pg_upgrade: allow to upgrade publisher node