Re: Extended Statistics set/restore/clear functions.

From: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Tender Wang <tndrwang(at)gmail(dot)com>, Corey Huinker <corey(dot)huinker(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Extended Statistics set/restore/clear functions.
Date: 2026-01-15 23:35:04
Message-ID: 646A5574-C58D-48B4-8B0F-41BBE179F8C8@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Jan 16, 2026, at 04:21, Corey Huinker <corey(dot)huinker(at)gmail(dot)com> wrote:
>
>
> 3 - extended_stats_funcs.c
> ```
> * Portions Copyright (c) 1996-2026, PostgreSQL Global Development Group
> ```
>
> This is a brand new file, so the copyright year should be just 2026. If you search for “2025-2026”, you will get a bunch of files, they should be created in 2025.
>
> That may have been done because some of the code that will end up here is being moved from other files rather than being purely new. My revised patch is leaving it as-is for now.

In that case, I agree that, if the code is copied from an existing file into a new file, then the new file’s copyright years should inherit from the original file.

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Henson Choi 2026-01-15 23:44:42 Re: Row pattern recognition
Previous Message Andres Freund 2026-01-15 23:26:18 Re: Buffer locking is special (hints, checksums, AIO writes)