Re: Remove unnecessary static specifier - Mailing list pgsql-hackers

From Japin Li
Subject Re: Remove unnecessary static specifier
Date
Msg-id ME0P300MB04453984C72487F8C7D05350B6F62@ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM
Whole thread Raw
In response to Re: Remove unnecessary static specifier  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: Remove unnecessary static specifier
List pgsql-hackers
On Wed, 05 Feb 2025 at 18:17, Daniel Gustafsson <daniel@yesql.se> wrote:
>> On 5 Feb 2025, at 17:05, Tom Lane <tgl@sss.pgh.pa.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



pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Docs for pg_basebackup needs v17 note for incremental backup
Next
From: wenhui qiu
Date:
Subject: Re: Trigger more frequent autovacuums of heavy insert tables