Re: Remove unnecessary static specifier

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Japin Li <japinli@hotmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-02-05T17:17:37Z
Lists: 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




Commits

  1. pgcrypto: Remove static storage class from variables