Suggestion: Update Copyright Year to 2025 in Recently Added Files

Started by Shaik Mohammad Mujeeb10 months ago5 messages
Jump to latest
#1Shaik Mohammad Mujeeb
mujeeb.sk.dev@gmail.com

Hi Hackers,

I noticed that in the recently added files (waiteventset.h and
pg_localeconv_r.c), the copyright notice still mentions the year range as
1996-2024.

Just wanted to check - should this be updated to reflect 1996-2025 instead?

Thanks & Regards,
Shaik Mohammad Mujeeb
Member Technical Staff
Zoho Corp

#2Michael Paquier
michael@paquier.xyz
In reply to: Shaik Mohammad Mujeeb (#1)
Re: Suggestion: Update Copyright Year to 2025 in Recently Added Files

On Sun, May 18, 2025 at 12:09:23PM +0530, Shaik Mohammad Mujeeb wrote:

I noticed that in the recently added files (waiteventset.h and
pg_localeconv_r.c), the copyright notice still mentions the year range as
1996-2024.

Just wanted to check - should this be updated to reflect 1996-2025 instead?

This process is automated by src/tools/copyright.pl on a yearly-basis,
but it is possible that holes appear when some code gets committed
that predates the new year.

The tool is also pointing at 001_sepgsql.pl and gin_tuple.h. Will
fix, thanks for the report.
--
Michael

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Michael Paquier (#2)
Re: Suggestion: Update Copyright Year to 2025 in Recently Added Files

Michael Paquier <michael@paquier.xyz> writes:

On Sun, May 18, 2025 at 12:09:23PM +0530, Shaik Mohammad Mujeeb wrote:

Just wanted to check - should this be updated to reflect 1996-2025 instead?

This process is automated by src/tools/copyright.pl on a yearly-basis,
but it is possible that holes appear when some code gets committed
that predates the new year.

I had the idea that this was part of our pre-branch checklist,
but it was not mentioned there. I added it.

regards, tom lane

#4Michael Paquier
michael@paquier.xyz
In reply to: Tom Lane (#3)
Re: Suggestion: Update Copyright Year to 2025 in Recently Added Files

On Sun, May 18, 2025 at 11:34:07PM -0400, Tom Lane wrote:

I had the idea that this was part of our pre-branch checklist,
but it was not mentioned there. I added it.

Good idea. Thanks.
--
Michael

#5Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#3)
Re: Suggestion: Update Copyright Year to 2025 in Recently Added Files

On Sun, May 18, 2025 at 11:34:07PM -0400, Tom Lane wrote:

Michael Paquier <michael@paquier.xyz> writes:

On Sun, May 18, 2025 at 12:09:23PM +0530, Shaik Mohammad Mujeeb wrote:

Just wanted to check - should this be updated to reflect 1996-2025 instead?

This process is automated by src/tools/copyright.pl on a yearly-basis,
but it is possible that holes appear when some code gets committed
that predates the new year.

I had the idea that this was part of our pre-branch checklist,
but it was not mentioned there. I added it.

I only run it in early January of each year.

--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com

Do not let urgent matters crowd out time for investment in the future.