pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feedOutdated copyright year in parse_jsontable.c
4+ messages / 3 participants
[nested] [flat]
Commits from this thread:
2022-04-11 dfd0f2bbc5 Avoid re-writing files unnecessarily in src/tools/copyright.pl.
2022-04-11 7597cc3083 Fix the dates of some copyright notices
* Outdated copyright year in parse_jsontable.c
@ 2022-04-11 06:08 Julien Rouhaud <rjuju123@gmail.com>
2022-04-11 06:58 ` Re: Outdated copyright year in parse_jsontable.c Michael Paquier <michael@paquier.xyz>
0 siblings, 1 reply; 4+ messages in thread
From: Julien Rouhaud @ 2022-04-11 06:08 UTC (permalink / raw)
To: pgsql-hackers@lists.postgresql.org
Hi,
I just noticed that parse_jsontable.c was added with a wrong copyright year,
trivial patch attached.
While at it I also see that a lot of Spanish translation files seems to be
stuck in 2019, but those were fixed in the pgtranslation repo last June so they
will get synced eventually.
Attachments:
0001-Fix-copyright-year-in-parse_jsontable.c.patch (text/plain, 856B) download
From ffd6809ee725f186784fd141473c833b22a89a32 Mon Sep 17 00:00:00 2001
From: Julien Rouhaud <julien.rouhaud@free.fr>
Date: Mon, 11 Apr 2022 14:01:59 +0800
Subject: [PATCH] Fix copyright year in parse_jsontable.c
Oversight in 4e34747c88a.
---
src/backend/parser/parse_jsontable.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/parser/parse_jsontable.c b/src/backend/parser/parse_jsontable.c
index c7dcefa11c..0dea7c998e 100644
--- a/src/backend/parser/parse_jsontable.c
+++ b/src/backend/parser/parse_jsontable.c
@@ -3,7 +3,7 @@
* parse_jsontable.c
* parsing of JSON_TABLE
*
- * Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
--
2.35.0
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Outdated copyright year in parse_jsontable.c
2022-04-11 06:08 Outdated copyright year in parse_jsontable.c Julien Rouhaud <rjuju123@gmail.com>
@ 2022-04-11 06:58 ` Michael Paquier <michael@paquier.xyz>
2022-04-11 09:16 ` Re: Outdated copyright year in parse_jsontable.c Julien Rouhaud <rjuju123@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Michael Paquier @ 2022-04-11 06:58 UTC (permalink / raw)
To: Julien Rouhaud <rjuju123@gmail.com>; +Cc: pgsql-hackers@lists.postgresql.org
On Mon, Apr 11, 2022 at 02:08:38PM +0800, Julien Rouhaud wrote:
> I just noticed that parse_jsontable.c was added with a wrong copyright year,
> trivial patch attached.
Thanks, I'll go fix that in a bit. I am spotting four more, as of
src/backend/replication/basebackup_*.c that point to 2020.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Outdated copyright year in parse_jsontable.c
2022-04-11 06:08 Outdated copyright year in parse_jsontable.c Julien Rouhaud <rjuju123@gmail.com>
2022-04-11 06:58 ` Re: Outdated copyright year in parse_jsontable.c Michael Paquier <michael@paquier.xyz>
@ 2022-04-11 09:16 ` Julien Rouhaud <rjuju123@gmail.com>
2022-04-11 13:57 ` Re: Outdated copyright year in parse_jsontable.c Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 4+ messages in thread
From: Julien Rouhaud @ 2022-04-11 09:16 UTC (permalink / raw)
To: Michael Paquier <michael@paquier.xyz>; +Cc: pgsql-hackers@lists.postgresql.org
On Mon, Apr 11, 2022 at 03:58:01PM +0900, Michael Paquier wrote:
> On Mon, Apr 11, 2022 at 02:08:38PM +0800, Julien Rouhaud wrote:
> > I just noticed that parse_jsontable.c was added with a wrong copyright year,
> > trivial patch attached.
>
> Thanks, I'll go fix that in a bit. I am spotting four more, as of
> src/backend/replication/basebackup_*.c that point to 2020.
Ah right, I now realize that my command found them too but it was hidden with
the .po files and I missed them.
Thanks!
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Outdated copyright year in parse_jsontable.c
2022-04-11 06:08 Outdated copyright year in parse_jsontable.c Julien Rouhaud <rjuju123@gmail.com>
2022-04-11 06:58 ` Re: Outdated copyright year in parse_jsontable.c Michael Paquier <michael@paquier.xyz>
2022-04-11 09:16 ` Re: Outdated copyright year in parse_jsontable.c Julien Rouhaud <rjuju123@gmail.com>
@ 2022-04-11 13:57 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 4+ messages in thread
From: Tom Lane @ 2022-04-11 13:57 UTC (permalink / raw)
To: Julien Rouhaud <rjuju123@gmail.com>; +Cc: Michael Paquier <michael@paquier.xyz>; pgsql-hackers@lists.postgresql.org
Julien Rouhaud <rjuju123@gmail.com> writes:
> On Mon, Apr 11, 2022 at 03:58:01PM +0900, Michael Paquier wrote:
>> On Mon, Apr 11, 2022 at 02:08:38PM +0800, Julien Rouhaud wrote:
>>> I just noticed that parse_jsontable.c was added with a wrong copyright year,
>>> trivial patch attached.
>> Thanks, I'll go fix that in a bit. I am spotting four more, as of
>> src/backend/replication/basebackup_*.c that point to 2020.
> Ah right, I now realize that my command found them too but it was hidden with
> the .po files and I missed them.
FTR, we already have a tool for this: src/tools/copyright.pl.
I ran it to check, and it found the same five files.
(I'm slightly annoyed at it for having touched the mod dates on
every file when it only needed to change five ... will go fix that.)
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2022-04-11 13:57 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-04-11 06:08 Outdated copyright year in parse_jsontable.c Julien Rouhaud <rjuju123@gmail.com>
2022-04-11 06:58 ` Michael Paquier <michael@paquier.xyz>
2022-04-11 09:16 ` Julien Rouhaud <rjuju123@gmail.com>
2022-04-11 13:57 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox