agora inbox for pgsql-docs@postgresql.org
help / color / mirror / Atom feedDependency Tracking
2+ messages / 2 participants
[nested] [flat]
* Dependency Tracking
@ 2025-04-17 07:19 PG Doc comments form <noreply@postgresql.org>
0 siblings, 1 reply; 2+ messages in thread
From: PG Doc comments form @ 2025-04-17 07:19 UTC (permalink / raw)
To: pgsql-docs@lists.postgresql.org; +Cc: y.saburov@gmail.com
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/17/ddl-depend.html
Description:
(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?
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Dependency Tracking
@ 2025-04-19 19:25 Tom Lane <tgl@sss.pgh.pa.us>
parent: PG Doc comments form <noreply@postgresql.org>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2025-04-19 19:25 UTC (permalink / raw)
To: y.saburov@gmail.com; +Cc: pgsql-docs@lists.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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2025-04-19 19:25 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-04-17 07:19 Dependency Tracking PG Doc comments form <noreply@postgresql.org>
2025-04-19 19:25 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox