Re: Dependency Tracking

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: y(dot)saburov(at)gmail(dot)com
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Dependency Tracking
Date: 2025-04-19 19:25:48
Message-ID: 36996.1745090748@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

PG Doc comments form <noreply(at)postgresql(dot)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

In response to

Browse pgsql-docs by date

  From Date Subject
Previous Message PG Doc comments form 2025-04-17 07:19:07 Dependency Tracking