Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ppwsg-0002C8-0y for pgsql-hackers@arkaria.postgresql.org; Fri, 21 Apr 2023 19:57:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ppwrg-00009T-1T for pgsql-hackers@arkaria.postgresql.org; Fri, 21 Apr 2023 19:56:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ppwrf-00009H-Ma for pgsql-hackers@lists.postgresql.org; Fri, 21 Apr 2023 19:56:15 +0000 Received: from sender4-op-o10.zoho.com ([136.143.188.10]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ppwrY-004IXr-AN for pgsql-hackers@lists.postgresql.org; Fri, 21 Apr 2023 19:56:14 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1682106963; cv=none; d=zohomail.com; s=zohoarc; b=Wqy4O0ReBygYtMBOrpOPtwSMxsc5hl+15jlHRJ4AwwrIqruL6tGGZp2Z6MVIG8Y4t9BgblurTDBFrTGAIBUR4CxBCP7dlcnpFk6ftldLmCud9IIDkiyMgmTMfUWQslgAx90K7X/DZq17qYQQBhicRh2LnBMpFJgrmkVHmThFcpQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1682106963; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=k8iFJqLAeXLaA3/eraR+SlvNtj8HlxyE8MIEcQFZU6U=; b=Q33FDTNWyjiyi1LYOG63Owtc810kSxPWBe/zecg/KG0Q0UM2kFZuGVcgLRiFdS25ir5MIhbGo/uSOny/uF/UNjErn5zkyE7j1pTYFO49mUSIGeUQE4PJXq0wkr0GffAl0yGyn9/vEnSiByRGMJOpytXSouH9mXHAQwiZN214KFs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=highgo.ca; spf=pass smtp.mailfrom=david.zhang@highgo.ca; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1682106963; s=zoho; d=highgo.ca; i=david.zhang@highgo.ca; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:Cc:Cc:References:From:From:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=k8iFJqLAeXLaA3/eraR+SlvNtj8HlxyE8MIEcQFZU6U=; b=BHUMS6XDaKAh2SU7eOIrkjIaL1Mt/GhAZuG9yHSOYCP6bCKm+29XjW4Ab55MumQw pXCSIM4vIkLmgDqyWNC39Mp6/WAy1WkbZ/JLkPbAhkz/igywVgzhmPm1bQ8k82VohMv mtIqHQS9DEPK0rfo9M1E8ug8cHuRsdE5WWRdJoNE= Received: from [192.168.1.74] (d64-180-15-136.bchsia.telus.net [64.180.15.136]) by mx.zohomail.com with SMTPS id 1682106961605177.6193272656626; Fri, 21 Apr 2023 12:56:01 -0700 (PDT) Message-ID: <7cf1745e-9bc7-b4ac-eac0-e0cf486de584@highgo.ca> Date: Fri, 21 Apr 2023 12:56:01 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: Add missing copyright for pg_upgrade/t/* files Content-Language: en-US To: "Hayato Kuroda (Fujitsu)" , 'Amit Kapila' Cc: PostgreSQL Hackers References: From: David Zhang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ZohoMailClient: External List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > I checked the commit log. > About 001_basic.pl, it had been added at 2017 once but been reverted soon [1][2]. > 322bec added the file again at 2022[3], so I chose 2022. > > About 002_pg_upgrade.pl, it has been added at the same time[3]. > Definitively it should be 2022. It is great to make sure each file has the Copyright and I see this patch has already been committed. Just curious, is there a rule to add Copyright to Postgres? For example, if I run a command `grep -rn Copyright --include="*.pl" | awk -F ':' {'print $2, $1'} | sort -nr` inside postgres/src/bin, It seems most Copyright were added to the second line, but these two were added to the very beginning (of course, there are three other files following this pattern as well). ... 2 pg_archivecleanup/t/010_pg_archivecleanup.pl 2 pg_amcheck/t/005_opclass_damage.pl 2 pg_amcheck/t/004_verify_heapam.pl 2 pg_amcheck/t/003_check.pl 2 pg_amcheck/t/002_nonesuch.pl 2 pg_amcheck/t/001_basic.pl 2 initdb/t/001_initdb.pl 1 pg_verifybackup/t/010_client_untar.pl 1 pg_verifybackup/t/008_untar.pl 1 pg_upgrade/t/002_pg_upgrade.pl 1 pg_upgrade/t/001_basic.pl 1 pg_basebackup/t/011_in_place_tablespace.pl David