Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ioHNG-0000SC-3o for pgsql-committers@arkaria.postgresql.org; Mon, 06 Jan 2020 01:40:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ioHNE-00024S-Uf for pgsql-committers@arkaria.postgresql.org; Mon, 06 Jan 2020 01:40:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ioHNE-00024L-Fu for pgsql-committers@lists.postgresql.org; Mon, 06 Jan 2020 01:40:04 +0000 Received: from mail-yb1-xb41.google.com ([2607:f8b0:4864:20::b41]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ioHNA-0000QM-9Q for pgsql-committers@lists.postgresql.org; Mon, 06 Jan 2020 01:40:03 +0000 Received: by mail-yb1-xb41.google.com with SMTP id v24so21453577ybd.10 for ; Sun, 05 Jan 2020 17:40:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=XuXIt3tJingGMIsvBtWJmxXZJwZ4gWHJ2MUBVHpOYxo=; b=TGri6GrSOUl6Iz7lp1TQTupMi2V72eg/f/m3DrtFCPUsL4FYnzmT0IXMtGpa1DJgl9 joIf1viI/gJXkOg4zwOGSRQRFRVgQeTyffSbILE0iIHiNYrihdhi/KkWrbTJNmoFZVO4 MTzzhKIKdNxmed/hCnkqnp6eeCg/9idpM7HGHrVOD59e7tdRTbSGy6Z85KE9SwzvgrZ1 6tm2UBq1mP74sn874TbH/13F8Bmm3ruLQhpi8lqyNi+JoNp642dmLDnpl7s/hz6/2ESS KqFsx83D3s7lcxGzxHCpeiHEV6Z4/BorGLjXIS/Z0L8fGupHIeRyjNX2U0kAp105i/T/ KiDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=XuXIt3tJingGMIsvBtWJmxXZJwZ4gWHJ2MUBVHpOYxo=; b=hkDF8qHXKYyPJ8rWRhfDKWE/zI9B7qkYApgZAJa5PNfVtysslEdYX3NnM8Ui5jcqaX 4YRUQX8a+F7BPvqjYfT/qrrfyHdM6sl0BJBHmC2xwT+0+cMlgnK70W/HaQq7/q7OW2Ff M6y0CxT2r2sf9+TiyQt16veAYmCaI7h2rt0T1c4dxQt3VSUAv23U3+u5hBURkUVyHtLM QyN1HsYbuRUmwkl99nzbdxo4wwHLPpExUdU7C50IeSwSMaZPY8EYIU+/8pqEGTXqNngH xl+lKo34LTp5nV4XL1NDsWOBhrp9Apw5KNCNzK5oBuhLotPE6R02Z2v2F4Zj7OZrSR0Q jHng== X-Gm-Message-State: APjAAAWoNcRdiwgAeFHQwMs5X7xHvu9HcFMrK7ggE19g+UFinFASC19d g9znmyy6HTw2fE6jHWZqj4KskScvG5UuYA== X-Google-Smtp-Source: APXvYqxctiWa8iUn/+lrAcdqbAMB18BBTYIBWw+4DEiNAydzLmy/5l23MfXdcgzyZbcfx629Pqe6LQ== X-Received: by 2002:a25:3102:: with SMTP id x2mr32201602ybx.135.1578274798926; Sun, 05 Jan 2020 17:39:58 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([66.115.168.20]) by smtp.gmail.com with ESMTPSA id u136sm27149519ywf.101.2020.01.05.17.39.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jan 2020 17:39:58 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 92D2B300B23; Sun, 5 Jan 2020 22:31:41 -0300 (-03) Date: Sun, 5 Jan 2020 22:31:41 -0300 From: Alvaro Herrera To: Peter Geoghegan Cc: Thomas Munro , pgsql-committers Subject: Re: pgsql: Add reusable routine for making arrays unique. Message-ID: <20200106013141.GA15896@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Jan-04, Peter Geoghegan wrote: > On Wed, Nov 6, 2019 at 8:03 PM Thomas Munro wrote: > > Add reusable routine for making arrays unique. > > I noticed that some of the copyright notices added by this commit look > like this: > > + * Portions Copyright (c) 2019, PostgreSQL Global Development Group > > Shouldn't this simply read "Copyright (c) 2019 ..."? We're not sharing > the Copyright with Regents of the University of California, or anyone > else, so there it is not just a portion. Looking at the stats, it's clear that it took a lot of code from other files, so it seems disingenuous to claim that it doesn't have even a single line that isn't copyrighted by UCB regents. I've seen this argument used even for files that are completely new: they are likely affected some API design aspect of existing code copyright of UCB regents, so it too would have Portions (c) them. > It would be nice to have some general guidance on copyright notices in > new files. I usually just copy what I see in nearby files, but that > doesn't seem particularly principled. I think the easiest is to state that all files, even new files are Portions (c) each of these entities, period. Trying to distinguish code that's not even a single line derived from UCB Regents seems really labor-intensive. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services