Re: Remove unnecessary static specifier

From: Japin Li <japinli(at)hotmail(dot)com>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Remove unnecessary static specifier
Date: 2025-02-06 01:51:54
Message-ID: ME0P300MB04453984C72487F8C7D05350B6F62@ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 05 Feb 2025 at 18:17, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
>> On 5 Feb 2025, at 17:05, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
>> While we're at it, could we make the adjacent "magic" string be
>> "static const char *magic"? (Probably needs a couple more
>> "const" modifiers at use sites, too.)
>
> Good point, from the link referenced it's clear that FreeBSD has made that
> change as well. I'll fix that at the same time.
>

Oh, I didn't notice this. +1.

--
Regrads,
Japin Li

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message wenhui qiu 2025-02-06 01:54:07 Re: Trigger more frequent autovacuums of heavy insert tables
Previous Message Michael Paquier 2025-02-06 01:42:00 Re: Add isolation test template in injection_points for wait/wakeup/detach