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 1u6Dp2-00Cqmt-EG for pgsql-docs@arkaria.postgresql.org; Sat, 19 Apr 2025 19:25:52 +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 1u6Dp0-000put-KW for pgsql-docs@arkaria.postgresql.org; Sat, 19 Apr 2025 19:25:51 +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 1u6Dp0-000pul-Ch for pgsql-docs@lists.postgresql.org; Sat, 19 Apr 2025 19:25:51 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u6Doz-000uZu-00 for pgsql-docs@lists.postgresql.org; Sat, 19 Apr 2025 19:25:50 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 53JJPm5C036997; Sat, 19 Apr 2025 15:25:48 -0400 From: Tom Lane To: y.saburov@gmail.com cc: pgsql-docs@lists.postgresql.org Subject: Re: Dependency Tracking In-reply-to: <174487434720.676.2340734095223332692@wrigleys.postgresql.org> References: <174487434720.676.2340734095223332692@wrigleys.postgresql.org> Comments: In-reply-to PG Doc comments form message dated "Thu, 17 Apr 2025 07:19:07 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <36995.1745090748.1@sss.pgh.pa.us> Date: Sat, 19 Apr 2025 15:25:48 -0400 Message-ID: <36996.1745090748@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Doc comments form writes: > Page: https://www.postgresql.org/docs/17/ddl-depend.html >> PostgreSQL will be aware that the get_color_note function depends on the >> rainbow type: dropping the type would force dropping the function, because >> its argument type would no longer be defined. > Maybe you should add that not only the function will be deleted, but also > the 'color' column of the 'my_colors' table? This paragraph is concerned with the dependency behavior of functions, so I think adding that comment would just be off-topic complexity. regards, tom lane