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 1qOjdQ-008mmt-3m for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Jul 2023 18:53:19 +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 1qOjdM-005lSW-OU for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Jul 2023 18:53:16 +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 1qOjdM-005lRQ-4Z for pgsql-hackers@lists.postgresql.org; Wed, 26 Jul 2023 18:53:16 +0000 Received: from mail-ot1-x336.google.com ([2607:f8b0:4864:20::336]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qOjdF-001iu0-Bh for pgsql-hackers@postgresql.org; Wed, 26 Jul 2023 18:53:14 +0000 Received: by mail-ot1-x336.google.com with SMTP id 46e09a7af769-6b9c90527a0so93217a34.1 for ; Wed, 26 Jul 2023 11:53:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690397588; x=1691002388; 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=8tv43AXD74MPtry1CLjY5xmeoDiCnfRqugssp1V5udI=; b=dRUDEJYUy7XBdyAbeeMPmBOwFOD0K13LL8BV3ma7fZGGyZvI+3UUIzHcQhQlBsPxMM iP3I5TS6IkI0oBt1t48CgNJ58ACWmjBdQ7mFGHMSo0nVgK3AZYe/pVXyaURHLBHk1J8w Y/ezZ0WoWNeFYKngW73S8CyGV7DhAZ6koyhNTXVRVeVjiPC5Q9L9ANU8MH47qWXAfkSd H9mDrSksrpsPFAQCzOgzB2lgqUpacpbWbZKsSlG6Zf0EuY/teNUhjQKBjo3e6XjKvmi+ Ub6gY8UEGUIqr76LRVrFHitjB+qh6Ep1CKEntPEIwxDkWvq1OY9a5oYW9sKW1quCCNsU 4rpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690397588; x=1691002388; 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=8tv43AXD74MPtry1CLjY5xmeoDiCnfRqugssp1V5udI=; b=H2ubkwtpETtcNFGfxVnkBecZ5bZaVrZ+KpkdsVzO/HWnW5pXYZc9NqYC7EooWQHZGQ A3P3rDPjH0GhIpDucKzxwr0IvVeWC+BIyntH6JvSs78tYHM12SDVi+JWZRy1DTEqWjEx QKxWPmd6VKxOkpbvc03pLFY4CqvNxW/5Du+qYOSuT1ToWBM8Uxj68W/FwiVo/ceW6f4e 9FJkIfGtH2FW3lUKnskX3gvFa31MFDfJqbB46HsBk/Ferdqjc131hrI/5VH/4E7a7Vt0 SqhbACFtrVMrUsfmOQQbwtgQ/3U2byJVY72FF38Hd1I/SdRQhiNOpvVcsOOTVoNiVfvl WRew== X-Gm-Message-State: ABy/qLZ0lEowSV5/dUjgPs2pZTeukL2FogOZm+yOh4p17JzzZiV7WQNl CyhBF8lxtb3G8szmyJZu2wL3IcpjlO0= X-Google-Smtp-Source: APBJJlEt8LOjXpZ66aaOFU/DPPEk/AA327igr7J7heFuzrB2hYHk+DmGz9pVx/z5mUy4leCA1Ew/BQ== X-Received: by 2002:a05:6358:399e:b0:134:ed9b:15a7 with SMTP id b30-20020a056358399e00b00134ed9b15a7mr2251264rwe.30.1690397588572; Wed, 26 Jul 2023 11:53:08 -0700 (PDT) Received: from nathanxps13 ([50.47.162.83]) by smtp.gmail.com with ESMTPSA id c1-20020a63a401000000b0055c3e8c922dsm12698214pgf.90.2023.07.26.11.53.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jul 2023 11:53:07 -0700 (PDT) Date: Wed, 26 Jul 2023 11:53:06 -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: <20230726185306.GB3310393@nathanxps13> References: <87sf9apnr0.fsf@wibble.ilmari.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87sf9apnr0.fsf@wibble.ilmari.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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] [0] https://dsf.berkeley.edu/postgres.html -- Nathan Bossart Amazon Web Services: https://aws.amazon.com