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

From Daniel Gustafsson
Subject Re: Remove unnecessary static specifier
Date
Msg-id 39C5957A-7CA2-422D-832C-F042F48E0FC9@yesql.se
Whole thread Raw
In response to Re: Remove unnecessary static specifier  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Remove unnecessary static specifier
List pgsql-hackers
> 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.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Ilia Evdokimov
Date:
Subject: Re: Avoid possible deference NULL pointer (src/backend/optimizer/path/allpaths.c)
Next
From: Álvaro Herrera
Date:
Subject: Re: Feature Request: Add AES-128-CFB Mode Support to pgcrypto