Re: Remove unnecessary static specifier

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Japin Li <japinli(at)hotmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Remove unnecessary static specifier
Date: 2025-02-05 17:17:37
Message-ID: 39C5957A-7CA2-422D-832C-F042F48E0FC9@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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.

--
Daniel Gustafsson

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Melanie Plageman 2025-02-05 17:23:29 Re: Eagerly scan all-visible pages to amortize aggressive vacuum
Previous Message Ilia Evdokimov 2025-02-05 17:09:17 Re: Avoid possible deference NULL pointer (src/backend/optimizer/path/allpaths.c)