Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qOjvZ-008nZE-In for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Jul 2023 19:12:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qOjvX-005qvV-Ny for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Jul 2023 19:12:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qOjvX-005qvN-Eg for pgsql-hackers@lists.postgresql.org; Wed, 26 Jul 2023 19:12:03 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qOjvQ-001j0d-IQ for pgsql-hackers@postgresql.org; Wed, 26 Jul 2023 19:12:02 +0000 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1bb7b8390e8so776615ad.2 for ; Wed, 26 Jul 2023 12:11:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690398715; x=1691003515; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=vf1tNG0D6SrqNuLsmM3Pg1T7+c2FUQfBqI6hMVYJnGw=; b=pt73nTXgVKCbWh5LfKQPLRrTH7J5pcw9WKId+McFyDDLgzJ77BmS6ne237MS6h4MMt G6LQHM9UoC9SHYU3JuVpvrLPq+yqRkgAP3vgtnsQVhgOgalELvvbg/7egO7TDYThPHDV 5DrKB8m+hAlghab3Qh+YQ1xAcWdoGbpS8HTaJtdtazxpQqgaDNGK4T7NnLDcJSUkvsqc cmt4AWo6LTsBmzXhl+pqBQo0CbE/JoroMY8UbywYDqwXENq0WU6uOKUIiRSCBGbeQShg RPh+exRW2HsZ5bbn8etVsOL6zvCm5shbRFvBQo5bfGI/GFqAsEtbRQ8XddDtoi7D3/7f tyPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690398715; x=1691003515; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vf1tNG0D6SrqNuLsmM3Pg1T7+c2FUQfBqI6hMVYJnGw=; b=cdpKfTVj0ESLP55iyxj98cXhYaCVJRqgq/Y/NjEPQuPbJchCVqkrMiucau24yWralS Envc+kVdavTBFpoUJLW1PO5BVo3FfnvFytswvgf3zgzjKwI7HTgnO49ShuRi99CD8Ab3 iAPkR6Pp3OBMm9/LzaXrXB/u3MsSPfoCKmdg5lP+Mxe8xKTOpxO1hmItEqymCQG1p+to 4ZE+pEJ4/0yYG5xxAFvxxLtnnT8EIe0Tr7O9e0rtC1GK1y2F/XVGIW/25MWYFpu9z9Mx n102oJDH5Q59rTPoBQtyndZFJPcwcJlJ0zD3F00PSHPKyqE+aXeBeeeYfspeFgWiFd93 Mdog== X-Gm-Message-State: ABy/qLZ71cKnXX2b+iXdagFNQm0LOk8D/g3Ao9jxYZO4SSsnsdCYLKal 33+QqL6WIfS9aEVu3xnP3p4= X-Google-Smtp-Source: APBJJlF5nUohv2HPlzTHV3QD6ZkBeFBLoXSGjEG6zBGqJ58Wc1z1XCBxQRSAUi7SfYCv9dyTt4cVIw== X-Received: by 2002:a17:902:ba95:b0:1b5:561a:5c9a with SMTP id k21-20020a170902ba9500b001b5561a5c9amr2582610pls.39.1690398715302; Wed, 26 Jul 2023 12:11:55 -0700 (PDT) Received: from nathanxps13 ([50.47.162.83]) by smtp.gmail.com with ESMTPSA id 20-20020a170902e9d400b001bba27d1b65sm7020599plk.85.2023.07.26.12.11.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jul 2023 12:11:54 -0700 (PDT) Date: Wed, 26 Jul 2023 12:11:53 -0700 From: Nathan Bossart To: Dagfinn Ilmari =?iso-8859-1?Q?Manns=E5ker?= Cc: pgsql-hackers@postgresql.org Subject: Re: Obsolete reference to pg_relation in comment Message-ID: <20230726191153.GA3315838@nathanxps13> References: <87sf9apnr0.fsf@wibble.ilmari.org> <20230726185306.GB3310393@nathanxps13> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230726185306.GB3310393@nathanxps13> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Jul 26, 2023 at 11:53:06AM -0700, Nathan Bossart wrote: > On Wed, Jul 26, 2023 at 06:48:51PM +0100, Dagfinn Ilmari Mannsåker wrote: >> Triggered by a discussion on IRC, I noticed that there's a stray >> reference to pg_relation in a comment that was added long after it was >> renamed to pg_class. Here's a patch to bring that up to speed. > >> pg_relation was renamed to pg_class in 1991, but this comment (added >> in 2004) missed the memo > > Huh, interesting! I dug around the Berkeley archives [0] and found > comments indicating that pg_relation was renamed to pg_class in Februrary > 1990. However, it looks like the file was named pg_relation.h until > Postgres95 v0.01, which has the following comment in pg_class.h: > > * ``pg_relation'' is being replaced by ``pg_class''. currently > * we are only changing the name in the catalogs but someday the > * code will be changed too. -cim 2/26/90 > * [it finally happens. -ay 11/5/94] This comment actually lived in Postgres until 9cf80f2 (June 2000), too. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com