agora inbox for pgsql-docs@postgresql.org  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: y.saburov@gmail.com
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Dependency Tracking
Date: Sat, 19 Apr 2025 15:25:48 -0400
Message-ID: <36996.1745090748@sss.pgh.pa.us> (raw)
In-Reply-To: <174487434720.676.2340734095223332692@wrigleys.postgresql.org>
References: <174487434720.676.2340734095223332692@wrigleys.postgresql.org>

PG Doc comments form <noreply@postgresql.org> 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





view thread (2+ messages)

Message-ID: <36996.1745090748@sss.pgh.pa.us>
Permalink:  ../36996.1745090748@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/36996.1745090748@sss.pgh.pa.us

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, y.saburov@gmail.com, pgsql-docs@lists.postgresql.org
  Subject: Re: Dependency Tracking
  In-Reply-To: <36996.1745090748@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox